LibreOffice Module cppcanvas (master) 1
Functions
cppcanvas::internal::PointActionFactory Namespace Reference

Creates encapsulated converters between GDIMetaFile and XCanvas. More...

Functions

std::shared_ptr< ActioncreatePointAction (const ::basegfx::B2DPoint &, const CanvasSharedPtr &, const OutDevState &)
 Point in current color. More...
 
std::shared_ptr< ActioncreatePointAction (const ::basegfx::B2DPoint &, const CanvasSharedPtr &, const OutDevState &, const ::Color &)
 Point in given color. More...
 

Detailed Description

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.

Function Documentation

◆ createPointAction() [1/2]

std::shared_ptr< Action > cppcanvas::internal::PointActionFactory::createPointAction ( const ::basegfx::B2DPoint rPoint,
const CanvasSharedPtr rCanvas,
const OutDevState rState 
)

Point in current color.

Definition at line 156 of file pointaction.cxx.

Referenced by cppcanvas::internal::ImplRenderer::createActions().

◆ createPointAction() [2/2]

std::shared_ptr< Action > cppcanvas::internal::PointActionFactory::createPointAction ( const ::basegfx::B2DPoint rPoint,
const CanvasSharedPtr rCanvas,
const OutDevState rState,
const ::Color rColor 
)

Point in given color.

Definition at line 163 of file pointaction.cxx.