LibreOffice Module cppcanvas (master) 1
|
#include <renderer.hxx>
Classes | |
struct | Parameters |
Parameters for the Renderer. More... | |
Public Member Functions | |
virtual bool | drawSubset (sal_Int32 nStartIndex, sal_Int32 nEndIndex) const =0 |
Render subset of metafile to given canvas. More... | |
virtual ::basegfx::B2DRange | getSubsetArea (sal_Int32 nStartIndex, sal_Int32 nEndIndex) const =0 |
Query bounding box of metafile subset. More... | |
Public Member Functions inherited from cppcanvas::CanvasGraphic | |
virtual | ~CanvasGraphic () |
virtual void | setTransformation (const ::basegfx::B2DHomMatrix &rMatrix)=0 |
Set object transformation matrix. More... | |
virtual void | setClip (const ::basegfx::B2DPolyPolygon &rClipPoly)=0 |
Set object clipping polygon. More... | |
virtual void | setClip ()=0 |
Clear object clipping polygon. More... | |
virtual void | setCompositeOp (sal_Int8 aOp)=0 |
Set object composite mode. More... | |
virtual bool | draw () const =0 |
Render to parent canvas. More... | |
Definition at line 41 of file renderer.hxx.
|
pure virtual |
Render subset of metafile to given canvas.
This method renders the given subset of the content to the associated canvas.
nStartIndex | The index of the first action to be rendered (the indices correspond roughly to the action indices of the originating GDIMetaFile. Note, although, that certain actions, e.g. text, accounts for more than one index: a text produces as many addressable indices as it has characters). |
nEndIndex | The index of the first action not painted anymore, i.e. the action after the last action rendered (the indices correspond roughly to the action indices of the originating GDIMetaFile. Note, although, that certain actions, e.g. text, accounts for more than one index: a text produces as many addressable indices as it has characters). |
Implemented in cppcanvas::internal::ImplRenderer.
|
pure virtual |
Query bounding box of metafile subset.
This method queries the actual bounding box of the given subset, when rendered on the associated canvas.
nStartIndex | The index of the first action to be rendered (the indices correspond roughly to the action indices of the originating GDIMetaFile. Note, although, that certain actions, e.g. text, accounts for more than one index: a text produces as many addressable indices as it has characters). |
nEndIndex | The index of the first action not painted anymore, i.e. the action after the last action rendered (the indices correspond roughly to the action indices of the originating GDIMetaFile. Note, although, that certain actions, e.g. text, accounts for more than one index: a text produces as many addressable indices as it has characters). |
Implemented in cppcanvas::internal::ImplRenderer.