LibreOffice Module cppcanvas (master) 1
|
Interface for internal render actions. More...
#include <action.hxx>
Classes | |
struct | Subset |
Used for rendering action subsets. More... | |
Public Member Functions | |
virtual | ~Action () |
virtual bool | render (const ::basegfx::B2DHomMatrix &rTransformation) const =0 |
Render this action to the associated canvas. More... | |
virtual bool | renderSubset (const ::basegfx::B2DHomMatrix &rTransformation, const Subset &rSubset) const =0 |
Render the given part of the action to the associated canvas. More... | |
virtual ::basegfx::B2DRange | getBounds (const ::basegfx::B2DHomMatrix &rTransformation) const =0 |
Query bounds of this action on the associated canvas. More... | |
virtual ::basegfx::B2DRange | getBounds (const ::basegfx::B2DHomMatrix &rTransformation, const Subset &rSubset) const =0 |
Query bounds for the given part of the action on the associated canvas. More... | |
virtual sal_Int32 | getActionCount () const =0 |
Query action count. More... | |
Interface for internal render actions.
This interface is implemented by all objects generated from the metafile renderer, and corresponds roughly to the VCL meta action.
Definition at line 41 of file action.hxx.
|
inlinevirtual |
Definition at line 77 of file action.hxx.
|
pure virtual |
Query action count.
This method returns the number of subset actions contained in this action. The render( Subset ) method must accept subset ranges up to the value returned here.
|
pure virtual |
Query bounds of this action on the associated canvas.
rTransformation | Transformation matrix to apply |
|
pure virtual |
|
pure virtual |
Render this action to the associated canvas.
rTransformation | Transformation matrix to apply before rendering |
Implemented in cppcanvas::internal::CachedPrimitiveBase, and cppcanvas::internal::CachedPrimitiveBase.
|
pure virtual |
Render the given part of the action to the associated canvas.
rTransformation | Transformation matrix to apply before rendering |
rSubset | Subset of the action to render. See Subset description for index semantics. |