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

#include <mtftools.hxx>

Inheritance diagram for emfio::WinMtfPathObj:
[legend]
Collaboration diagram for emfio::WinMtfPathObj:
[legend]

Public Member Functions

 WinMtfPathObj ()
 
void Init ()
 
void ClosePath ()
 
void AddPoint (const Point &rPoint)
 
void AddPolygon (const tools::Polygon &rPoly)
 
void AddPolyLine (const tools::Polygon &rPoly)
 
void AddPolyPolygon (const tools::PolyPolygon &rPolyPolygon)
 
- Public Member Functions inherited from tools::PolyPolygon
 PolyPolygon (sal_uInt16 nInitSize=16)
 
 PolyPolygon (const tools::Polygon &rPoly)
 
 PolyPolygon (const tools::Rectangle &)
 
 PolyPolygon (const tools::PolyPolygon &rPolyPoly)
 
 PolyPolygon (tools::PolyPolygon &&rPolyPoly) noexcept
 
 ~PolyPolygon ()
 
void Insert (const tools::Polygon &rPoly, sal_uInt16 nPos=POLYPOLY_APPEND)
 
void Remove (sal_uInt16 nPos)
 
void Replace (const Polygon &rPoly, sal_uInt16 nPos)
 
const tools::PolygonGetObject (sal_uInt16 nPos) const
 
bool IsRect () const
 
void Clear ()
 
sal_uInt16 Count () const
 
tools::Rectangle GetBoundRect () const
 
void Clip (const tools::Rectangle &rRect)
 
void Optimize (PolyOptimizeFlags nOptimizeFlags)
 
void AdaptiveSubdivide (tools::PolyPolygon &rResult) const
 
void GetIntersection (const tools::PolyPolygon &rPolyPoly, tools::PolyPolygon &rResult) const
 
void GetUnion (const tools::PolyPolygon &rPolyPoly, tools::PolyPolygon &rResult) const
 
void Move (tools::Long nHorzMove, tools::Long nVertMove)
 
void Translate (const Point &rTrans)
 
void Scale (double fScaleX, double fScaleY)
 
void Rotate (const Point &rCenter, double fSin, double fCos)
 
void Rotate (const Point &rCenter, Degree10 nAngle10)
 
const tools::Polygonoperator[] (sal_uInt16 nPos) const
 
tools::Polygonoperator[] (sal_uInt16 nPos)
 
tools::PolyPolygonoperator= (const tools::PolyPolygon &rPolyPoly)
 
tools::PolyPolygonoperator= (tools::PolyPolygon &&rPolyPoly) noexcept
 
bool operator== (const tools::PolyPolygon &rPolyPoly) const
 
bool operator!= (const tools::PolyPolygon &rPolyPoly) const
 
void Read (SvStream &rIStream)
 
void Write (SvStream &rOStream) const
 
::basegfx::B2DPolyPolygon getB2DPolyPolygon () const
 
 PolyPolygon (const ::basegfx::B2DPolyPolygon &rPolyPolygon)
 

Private Attributes

bool bClosed
 

Additional Inherited Members

- Static Public Member Functions inherited from tools::PolyPolygon
static tools::PolyPolygon SubdivideBezier (const tools::PolyPolygon &rPolyPoly)
 

Detailed Description

Definition at line 359 of file mtftools.hxx.

Constructor & Destructor Documentation

◆ WinMtfPathObj()

emfio::WinMtfPathObj::WinMtfPathObj ( )
inline

Definition at line 365 of file mtftools.hxx.

Member Function Documentation

◆ AddPoint()

void emfio::WinMtfPathObj::AddPoint ( const Point rPoint)

◆ AddPolygon()

void emfio::WinMtfPathObj::AddPolygon ( const tools::Polygon rPoly)

Definition at line 137 of file mtftools.cxx.

References bClosed, and tools::PolyPolygon::Insert().

Referenced by emfio::MtfTools::DrawPolygon().

◆ AddPolyLine()

void emfio::WinMtfPathObj::AddPolyLine ( const tools::Polygon rPoly)

◆ AddPolyPolygon()

void emfio::WinMtfPathObj::AddPolyPolygon ( const tools::PolyPolygon rPolyPolygon)

◆ ClosePath()

void emfio::WinMtfPathObj::ClosePath ( )

◆ Init()

void emfio::WinMtfPathObj::Init ( )
inline

Definition at line 369 of file mtftools.hxx.

References bClosed, and tools::PolyPolygon::Clear().

Referenced by emfio::MtfTools::ClearPath().

Member Data Documentation

◆ bClosed

bool emfio::WinMtfPathObj::bClosed
private

Definition at line 361 of file mtftools.hxx.

Referenced by AddPoint(), AddPolygon(), AddPolyLine(), AddPolyPolygon(), ClosePath(), and Init().


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