LibreOffice Module basegfx (master) 1
Public Member Functions | Private Attributes | List of all members
basegfx::ImplB2DPolyPolygon Class Reference

Public Member Functions

 ImplB2DPolyPolygon ()
 
 ImplB2DPolyPolygon (const ImplB2DPolyPolygon &rSource)
 
 ImplB2DPolyPolygon (const basegfx::B2DPolygon &rToBeCopied)
 
ImplB2DPolyPolygonoperator= (const ImplB2DPolyPolygon &rSource)
 
void addOrReplaceSystemDependentData (basegfx::SystemDependentData_SharedPtr &rData) const
 
basegfx::SystemDependentData_SharedPtr getSystemDependentData (size_t hash_code) const
 
bool operator== (const ImplB2DPolyPolygon &rPolygonList) const
 
const basegfx::B2DPolygongetB2DPolygon (sal_uInt32 nIndex) const
 
void setB2DPolygon (sal_uInt32 nIndex, const basegfx::B2DPolygon &rPolygon)
 
void insert (sal_uInt32 nIndex, const basegfx::B2DPolygon &rPolygon, sal_uInt32 nCount)
 
void append (const basegfx::B2DPolygon &rPolygon, sal_uInt32 nCount)
 
void reserve (sal_uInt32 nCount)
 
void insert (sal_uInt32 nIndex, const basegfx::B2DPolyPolygon &rPolyPolygon)
 
void append (const basegfx::B2DPolyPolygon &rPolyPolygon)
 
void remove (sal_uInt32 nIndex, sal_uInt32 nCount)
 
sal_uInt32 count () const
 
void setClosed (bool bNew)
 
void flip ()
 
void removeDoublePoints ()
 
void transform (const basegfx::B2DHomMatrix &rMatrix)
 
void makeUnique ()
 
const basegfx::B2DPolygonbegin () const
 
const basegfx::B2DPolygonend () const
 
basegfx::B2DPolygonbegin ()
 
basegfx::B2DPolygonend ()
 

Private Attributes

basegfx::B2DPolygonVector maPolygons
 
std::unique_ptr< basegfx::SystemDependentDataHoldermpSystemDependentDataHolder
 

Detailed Description

Definition at line 33 of file b2dpolypolygon.cxx.

Constructor & Destructor Documentation

◆ ImplB2DPolyPolygon() [1/3]

basegfx::ImplB2DPolyPolygon::ImplB2DPolyPolygon ( )
inline

Definition at line 41 of file b2dpolypolygon.cxx.

◆ ImplB2DPolyPolygon() [2/3]

basegfx::ImplB2DPolyPolygon::ImplB2DPolyPolygon ( const ImplB2DPolyPolygon rSource)
inlineexplicit

Definition at line 45 of file b2dpolypolygon.cxx.

◆ ImplB2DPolyPolygon() [3/3]

basegfx::ImplB2DPolyPolygon::ImplB2DPolyPolygon ( const basegfx::B2DPolygon rToBeCopied)
inlineexplicit

Definition at line 50 of file b2dpolypolygon.cxx.

Member Function Documentation

◆ addOrReplaceSystemDependentData()

void basegfx::ImplB2DPolyPolygon::addOrReplaceSystemDependentData ( basegfx::SystemDependentData_SharedPtr rData) const
inline

Definition at line 66 of file b2dpolypolygon.cxx.

References mpSystemDependentDataHolder.

◆ append() [1/2]

void basegfx::ImplB2DPolyPolygon::append ( const basegfx::B2DPolygon rPolygon,
sal_uInt32  nCount 
)
inline

Definition at line 111 of file b2dpolypolygon.cxx.

References insert(), maPolygons, and nCount.

Referenced by basegfx::B2DPolyPolygon::getDefaultAdaptiveSubdivision().

◆ append() [2/2]

void basegfx::ImplB2DPolyPolygon::append ( const basegfx::B2DPolyPolygon rPolyPolygon)
inline

Definition at line 128 of file b2dpolypolygon.cxx.

References insert(), and maPolygons.

◆ begin() [1/2]

basegfx::B2DPolygon * basegfx::ImplB2DPolyPolygon::begin ( )
inline

Definition at line 197 of file b2dpolypolygon.cxx.

References maPolygons.

◆ begin() [2/2]

const basegfx::B2DPolygon * basegfx::ImplB2DPolyPolygon::begin ( ) const
inline

Definition at line 181 of file b2dpolypolygon.cxx.

References maPolygons.

◆ count()

sal_uInt32 basegfx::ImplB2DPolyPolygon::count ( ) const
inline

Definition at line 144 of file b2dpolypolygon.cxx.

References maPolygons.

◆ end() [1/2]

basegfx::B2DPolygon * basegfx::ImplB2DPolyPolygon::end ( )
inline

Definition at line 205 of file b2dpolypolygon.cxx.

References maPolygons.

◆ end() [2/2]

const basegfx::B2DPolygon * basegfx::ImplB2DPolyPolygon::end ( ) const
inline

Definition at line 189 of file b2dpolypolygon.cxx.

References maPolygons.

◆ flip()

void basegfx::ImplB2DPolyPolygon::flip ( )
inline

Definition at line 157 of file b2dpolypolygon.cxx.

References maPolygons.

◆ getB2DPolygon()

const basegfx::B2DPolygon & basegfx::ImplB2DPolyPolygon::getB2DPolygon ( sal_uInt32  nIndex) const
inline

Definition at line 91 of file b2dpolypolygon.cxx.

References maPolygons, and nIndex.

◆ getSystemDependentData()

basegfx::SystemDependentData_SharedPtr basegfx::ImplB2DPolyPolygon::getSystemDependentData ( size_t  hash_code) const
inline

Definition at line 76 of file b2dpolypolygon.cxx.

References mpSystemDependentDataHolder.

◆ insert() [1/2]

void basegfx::ImplB2DPolyPolygon::insert ( sal_uInt32  nIndex,
const basegfx::B2DPolygon rPolygon,
sal_uInt32  nCount 
)
inline

Definition at line 103 of file b2dpolypolygon.cxx.

References maPolygons, nCount, and nIndex.

Referenced by append().

◆ insert() [2/2]

void basegfx::ImplB2DPolyPolygon::insert ( sal_uInt32  nIndex,
const basegfx::B2DPolyPolygon rPolyPolygon 
)
inline

◆ makeUnique()

void basegfx::ImplB2DPolyPolygon::makeUnique ( )
inline

Definition at line 175 of file b2dpolypolygon.cxx.

References maPolygons.

◆ operator=()

ImplB2DPolyPolygon & basegfx::ImplB2DPolyPolygon::operator= ( const ImplB2DPolyPolygon rSource)
inline

Definition at line 55 of file b2dpolypolygon.cxx.

References maPolygons, and mpSystemDependentDataHolder.

◆ operator==()

bool basegfx::ImplB2DPolyPolygon::operator== ( const ImplB2DPolyPolygon rPolygonList) const
inline

Definition at line 86 of file b2dpolypolygon.cxx.

References maPolygons.

◆ remove()

void basegfx::ImplB2DPolyPolygon::remove ( sal_uInt32  nIndex,
sal_uInt32  nCount 
)
inline

Definition at line 133 of file b2dpolypolygon.cxx.

References maPolygons, nCount, and nIndex.

◆ removeDoublePoints()

void basegfx::ImplB2DPolyPolygon::removeDoublePoints ( )
inline

Definition at line 163 of file b2dpolypolygon.cxx.

References maPolygons.

◆ reserve()

void basegfx::ImplB2DPolyPolygon::reserve ( sal_uInt32  nCount)
inline

Definition at line 116 of file b2dpolypolygon.cxx.

References maPolygons, and nCount.

Referenced by basegfx::B2DPolyPolygon::getDefaultAdaptiveSubdivision().

◆ setB2DPolygon()

void basegfx::ImplB2DPolyPolygon::setB2DPolygon ( sal_uInt32  nIndex,
const basegfx::B2DPolygon rPolygon 
)
inline

Definition at line 97 of file b2dpolypolygon.cxx.

References maPolygons, and nIndex.

◆ setClosed()

void basegfx::ImplB2DPolyPolygon::setClosed ( bool  bNew)
inline

Definition at line 149 of file b2dpolypolygon.cxx.

References maPolygons.

◆ transform()

void basegfx::ImplB2DPolyPolygon::transform ( const basegfx::B2DHomMatrix rMatrix)
inline

Definition at line 169 of file b2dpolypolygon.cxx.

References maPolygons.

Member Data Documentation

◆ maPolygons

basegfx::B2DPolygonVector basegfx::ImplB2DPolyPolygon::maPolygons
private

◆ mpSystemDependentDataHolder

std::unique_ptr<basegfx::SystemDependentDataHolder> basegfx::ImplB2DPolyPolygon::mpSystemDependentDataHolder
mutableprivate

The documentation for this class was generated from the following file: