|
LibreOffice Module sdext (master) 1
|
#include <genericelements.hxx>
Public Member Functions | |
| PolyPolyElement (Element *pParent, sal_Int32 nGCId, const basegfx::B2DPolyPolygon &rPolyPoly, sal_Int8 nAction) | |
| virtual void | visitedBy (ElementTreeVisitor &, const std::list< std::unique_ptr< Element > >::const_iterator &rParentIt) override |
| To be implemented by every tree node that needs to be visitable. More... | |
| void | updateGeometry () |
| virtual void | emitStructure (int nLevel) override |
Public Member Functions inherited from pdfi::Element | |
| virtual | ~Element () |
| virtual void | visitedBy (ElementTreeVisitor &, const std::list< std::unique_ptr< Element > >::const_iterator &rParentIt)=0 |
| To be implemented by every tree node that needs to be visitable. More... | |
| void | applyToChildren (ElementTreeVisitor &) |
| Apply visitor to all children. More... | |
| void | updateGeometryWith (const Element *pMergeFrom) |
| Union element geometry with given element. More... | |
| virtual const TextElement * | dynCastAsTextElement () const |
| To avoid some dynamic_cast cost. More... | |
| virtual TextElement * | dynCastAsTextElement () |
| virtual void | emitStructure (int nLevel) |
Public Attributes | |
| basegfx::B2DPolyPolygon | PolyPoly |
| sal_Int8 | Action |
Public Attributes inherited from pdfi::DrawElement | |
| bool | isCharacter |
| sal_Int32 | ZOrder |
Public Attributes inherited from pdfi::GraphicalElement | |
| sal_Int32 | GCId |
| bool | MirrorVertical |
| bool | IsForText |
| double | FontSize |
| sal_Int32 | TextStyleId |
Public Attributes inherited from pdfi::Element | |
| double | x |
| double | y |
| double | w |
| double | h |
| sal_Int32 | StyleId |
| Element * | Parent |
| std::list< std::unique_ptr< Element > > | Children |
Friends | |
| class | ElementFactory |
Additional Inherited Members | |
Static Public Member Functions inherited from pdfi::Element | |
| static void | setParent (std::list< std::unique_ptr< Element > >::iterator const &el, Element *pNewParent) |
| el must be a valid dereferenceable iterator of el->Parent->Children pNewParent must not be NULL More... | |
Protected Member Functions inherited from pdfi::DrawElement | |
| DrawElement (Element *pParent, sal_Int32 nGCId) | |
Protected Member Functions inherited from pdfi::GraphicalElement | |
| GraphicalElement (Element *pParent, sal_Int32 nGCId) | |
Protected Member Functions inherited from pdfi::Element | |
| Element (Element *pParent) | |
Definition at line 211 of file genericelements.hxx.
| pdfi::PolyPolyElement::PolyPolyElement | ( | Element * | pParent, |
| sal_Int32 | nGCId, | ||
| const basegfx::B2DPolyPolygon & | rPolyPoly, | ||
| sal_Int8 | nAction | ||
| ) |
Definition at line 124 of file genericelements.cxx.
|
overridevirtual |
Reimplemented from pdfi::Element.
Definition at line 158 of file genericelements.cxx.
References pdfi::Element::Children, basegfx::B2DPolygon::count(), basegfx::B2DPolyPolygon::count(), basegfx::B2DPolygon::getB2DPoint(), basegfx::B2DPolyPolygon::getB2DPolygon(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), i, n, PolyPoly, and SAL_INFO.
| void pdfi::PolyPolyElement::updateGeometry | ( | ) |
Definition at line 134 of file genericelements.cxx.
References basegfx::utils::adaptiveSubdivideByAngle(), basegfx::B2DPolyPolygon::areControlPointsUsed(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), basegfx::utils::getRange(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), pdfi::Element::h, pdfi::PATH_EOFILL, pdfi::PATH_FILL, PolyPoly, basegfx::B2DPolyPolygon::setClosed(), pdfi::Element::w, pdfi::Element::x, and pdfi::Element::y.
Referenced by pdfi::PDFIProcessor::eoFillPath(), pdfi::PDFIProcessor::fillPath(), pdfi::PDFIProcessor::strokePath(), pdfi::DrawXmlEmitter::visit(), and pdfi::WriterXmlEmitter::visit().
|
overridevirtual |
To be implemented by every tree node that needs to be visitable.
Implements pdfi::Element.
Definition at line 151 of file genericelements.cxx.
References pdfi::ElementTreeVisitor::visit().
|
friend |
Definition at line 213 of file genericelements.hxx.
| sal_Int8 pdfi::PolyPolyElement::Action |
Definition at line 227 of file genericelements.hxx.
Referenced by pdfi::PageElement::resolveUnderlines(), pdfi::DrawXmlOptimizer::visit(), pdfi::DrawXmlFinalizer::visit(), pdfi::WriterXmlOptimizer::visit(), and pdfi::WriterXmlFinalizer::visit().
| basegfx::B2DPolyPolygon pdfi::PolyPolyElement::PolyPoly |
Definition at line 226 of file genericelements.hxx.
Referenced by emitStructure(), pdfi::PageElement::resolveUnderlines(), updateGeometry(), pdfi::DrawXmlOptimizer::visit(), pdfi::DrawXmlEmitter::visit(), pdfi::WriterXmlOptimizer::visit(), and pdfi::WriterXmlEmitter::visit().