LibreOffice Module cppcanvas (master) 1
|
Creates encapsulated converters between GDIMetaFile and XCanvas. More...
Functions | |
std::shared_ptr< Action > | createPolyPolyAction (const ::basegfx::B2DPolyPolygon &, const CanvasSharedPtr &, const OutDevState &) |
Create polygon, fill/stroke according to state. More... | |
std::shared_ptr< Action > | createPolyPolyAction (const ::basegfx::B2DPolyPolygon &, const CanvasSharedPtr &, const OutDevState &, const css::rendering::Texture &) |
Create texture-filled polygon. More... | |
std::shared_ptr< Action > | createLinePolyPolyAction (const ::basegfx::B2DPolyPolygon &, const CanvasSharedPtr &, const OutDevState &) |
Create line polygon (always stroked, not filled) More... | |
std::shared_ptr< Action > | createPolyPolyAction (const ::basegfx::B2DPolyPolygon &, const CanvasSharedPtr &, const OutDevState &, const css::rendering::StrokeAttributes &) |
Create stroked polygon. More... | |
std::shared_ptr< Action > | createPolyPolyAction (const ::basegfx::B2DPolyPolygon &, const CanvasSharedPtr &, const OutDevState &, int nTransparency) |
For transparent painting of the given polygon (normally, we take the colors always opaque) More... | |
Creates encapsulated converters between GDIMetaFile and XCanvas.
The Canvas argument is deliberately placed at the constructor, to force reconstruction of this object for a new canvas. This considerably eases internal state handling, since a lot of the internal state (e.g. fonts, text layout) is Canvas-dependent.
std::shared_ptr< Action > cppcanvas::internal::PolyPolyActionFactory::createLinePolyPolyAction | ( | const ::basegfx::B2DPolyPolygon & | rPoly, |
const CanvasSharedPtr & | rCanvas, | ||
const OutDevState & | rState | ||
) |
Create line polygon (always stroked, not filled)
Definition at line 462 of file polypolyaction.cxx.
References cppcanvas::internal::OutDevState::isLineColorSet.
Referenced by cppcanvas::internal::ImplRenderer::createActions().
std::shared_ptr< Action > cppcanvas::internal::PolyPolyActionFactory::createPolyPolyAction | ( | const ::basegfx::B2DPolyPolygon & | rPoly, |
const CanvasSharedPtr & | rCanvas, | ||
const OutDevState & | rState | ||
) |
Create polygon, fill/stroke according to state.
Definition at line 443 of file polypolyaction.cxx.
References cppcanvas::internal::OutDevState::isFillColorSet, and cppcanvas::internal::OutDevState::isLineColorSet.
Referenced by cppcanvas::internal::ImplRenderer::createActions(), cppcanvas::internal::ImplRenderer::createFillAndStroke(), and cppcanvas::internal::ImplRenderer::createGradientAction().
std::shared_ptr< Action > cppcanvas::internal::PolyPolyActionFactory::createPolyPolyAction | ( | const ::basegfx::B2DPolyPolygon & | , |
const CanvasSharedPtr & | , | ||
const OutDevState & | , | ||
const css::rendering::StrokeAttributes & | |||
) |
Create stroked polygon.
std::shared_ptr< Action > cppcanvas::internal::PolyPolyActionFactory::createPolyPolyAction | ( | const ::basegfx::B2DPolyPolygon & | , |
const CanvasSharedPtr & | , | ||
const OutDevState & | , | ||
const css::rendering::Texture & | |||
) |
Create texture-filled polygon.
std::shared_ptr< Action > cppcanvas::internal::PolyPolyActionFactory::createPolyPolyAction | ( | const ::basegfx::B2DPolyPolygon & | rPoly, |
const CanvasSharedPtr & | rCanvas, | ||
const OutDevState & | rState, | ||
int | nTransparency | ||
) |
For transparent painting of the given polygon (normally, we take the colors always opaque)
Definition at line 484 of file polypolyaction.cxx.
References cppcanvas::internal::OutDevState::isFillColorSet, and cppcanvas::internal::OutDevState::isLineColorSet.