LibreOffice Module emfio (master) 1
|
#include <mtftools.hxx>
Public Member Functions | |
WinMtfClipPath () | |
void | setClipPath (const basegfx::B2DPolyPolygon &, RegionMode nClippingMode) |
void | intersectClip (const basegfx::B2DPolyPolygon &rPolyPolygon) |
void | excludeClip (const basegfx::B2DPolyPolygon &rPolyPolygon) |
void | moveClipRegion (const Size &rSize) |
void | setDefaultClipPath () |
bool | isEmpty () const |
basegfx::utils::B2DClipState const & | getClip () const |
basegfx::B2DPolyPolygon const & | getClipPath () const |
bool | operator== (const WinMtfClipPath &rPath) const |
Private Attributes | |
basegfx::utils::B2DClipState | maClip |
Definition at line 335 of file mtftools.hxx.
|
inline |
Definition at line 340 of file mtftools.hxx.
void emfio::WinMtfClipPath::excludeClip | ( | const basegfx::B2DPolyPolygon & | rPolyPolygon | ) |
Definition at line 74 of file mtftools.cxx.
References maClip, and basegfx::utils::B2DClipState::subtractPolyPolygon().
Referenced by emfio::MtfTools::ExcludeClipRect().
|
inline |
Definition at line 350 of file mtftools.hxx.
References maClip.
Referenced by emfio::MtfTools::DrawPolygon().
basegfx::B2DPolyPolygon const & emfio::WinMtfClipPath::getClipPath | ( | ) | const |
Definition at line 114 of file mtftools.cxx.
References basegfx::utils::B2DClipState::getClipPoly(), and maClip.
Referenced by emfio::MtfTools::DrawPolyPolygon(), emfio::MtfTools::DrawRect(), emfio::MtfTools::ImplDrawBitmap(), and emfio::MtfTools::UpdateClipRegion().
void emfio::WinMtfClipPath::intersectClip | ( | const basegfx::B2DPolyPolygon & | rPolyPolygon | ) |
Definition at line 69 of file mtftools.cxx.
References basegfx::utils::B2DClipState::intersectPolyPolygon(), and maClip.
Referenced by emfio::MtfTools::IntersectClipRect().
|
inline |
Definition at line 348 of file mtftools.hxx.
References basegfx::utils::B2DClipState::isCleared(), and maClip.
Referenced by emfio::MtfTools::UpdateClipRegion().
void emfio::WinMtfClipPath::moveClipRegion | ( | const Size & | rSize | ) |
Definition at line 101 of file mtftools.cxx.
References Size::Height(), maClip, basegfx::utils::B2DClipState::transform(), basegfx::B2DHomMatrix::translate(), and Size::Width().
Referenced by emfio::MtfTools::MoveClipRegion().
|
inline |
Definition at line 353 of file mtftools.hxx.
References maClip.
void emfio::WinMtfClipPath::setClipPath | ( | const basegfx::B2DPolyPolygon & | rB2DPoly, |
RegionMode | nClippingMode | ||
) |
Definition at line 79 of file mtftools.cxx.
References basegfx::utils::B2DClipState::intersectPolyPolygon(), maClip, emfio::RGN_AND, emfio::RGN_COPY, emfio::RGN_DIFF, emfio::RGN_OR, emfio::RGN_XOR, basegfx::utils::B2DClipState::subtractPolyPolygon(), basegfx::utils::B2DClipState::unionPolyPolygon(), and basegfx::utils::B2DClipState::xorPolyPolygon().
Referenced by emfio::MtfTools::SetClipPath().
void emfio::WinMtfClipPath::setDefaultClipPath | ( | ) |
Definition at line 108 of file mtftools.cxx.
References maClip.
Referenced by emfio::MtfTools::SetDefaultClipPath().
|
private |
Definition at line 337 of file mtftools.hxx.
Referenced by excludeClip(), getClip(), getClipPath(), intersectClip(), isEmpty(), moveClipRegion(), operator==(), setClipPath(), and setDefaultClipPath().