LibreOffice Module emfio (master) 1
|
#include <mtftools.hxx>
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::Polygon & | GetObject (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::Polygon & | operator[] (sal_uInt16 nPos) const |
tools::Polygon & | operator[] (sal_uInt16 nPos) |
tools::PolyPolygon & | operator= (const tools::PolyPolygon &rPolyPoly) |
tools::PolyPolygon & | operator= (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) |
Definition at line 359 of file mtftools.hxx.
|
inline |
Definition at line 365 of file mtftools.hxx.
void emfio::WinMtfPathObj::AddPoint | ( | const Point & | rPoint | ) |
Definition at line 119 of file mtftools.cxx.
References bClosed, tools::PolyPolygon::Count(), tools::Polygon::GetSize(), tools::PolyPolygon::Insert(), and tools::Polygon::Insert().
Referenced by emfio::MtfTools::LineTo(), and emfio::MtfTools::MoveTo().
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().
void emfio::WinMtfPathObj::AddPolyLine | ( | const tools::Polygon & | rPoly | ) |
Definition at line 128 of file mtftools.cxx.
References bClosed, tools::PolyPolygon::Count(), tools::Polygon::GetSize(), tools::PolyPolygon::Insert(), and tools::Polygon::Insert().
Referenced by emfio::MtfTools::DrawPolyBezier(), and emfio::MtfTools::DrawPolyLine().
void emfio::WinMtfPathObj::AddPolyPolygon | ( | const tools::PolyPolygon & | rPolyPolygon | ) |
Definition at line 143 of file mtftools.cxx.
References bClosed, tools::PolyPolygon::Count(), i, tools::PolyPolygon::Insert(), and nCount.
Referenced by emfio::MtfTools::DrawPolyPolygon().
void emfio::WinMtfPathObj::ClosePath | ( | ) |
Definition at line 151 of file mtftools.cxx.
References bClosed, tools::PolyPolygon::Count(), tools::Polygon::GetSize(), and tools::Polygon::Insert().
Referenced by emfio::MtfTools::ClosePath().
|
inline |
Definition at line 369 of file mtftools.hxx.
References bClosed, and tools::PolyPolygon::Clear().
Referenced by emfio::MtfTools::ClearPath().
|
private |
Definition at line 361 of file mtftools.hxx.
Referenced by AddPoint(), AddPolygon(), AddPolyLine(), AddPolyPolygon(), ClosePath(), and Init().