LibreOffice Module cppcanvas (master) 1
|
Creates encapsulated converters between GDIMetaFile and XCanvas. More...
Functions | |
std::shared_ptr< Action > | createLineAction (const ::basegfx::B2DPoint &, const ::basegfx::B2DPoint &, const CanvasSharedPtr &, const OutDevState &) |
Plain hair line from point 1 to point 2. 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::LineActionFactory::createLineAction | ( | const ::basegfx::B2DPoint & | rStartPoint, |
const ::basegfx::B2DPoint & | rEndPoint, | ||
const CanvasSharedPtr & | rCanvas, | ||
const OutDevState & | rState | ||
) |
Plain hair line from point 1 to point 2.
Definition at line 141 of file lineaction.cxx.
Referenced by cppcanvas::internal::ImplRenderer::createActions().