LibreOffice Module cppcanvas (master) 1
|
This interface defines a tools::PolyPolygon canvas object. More...
#include <polypolygon.hxx>
Public Member Functions | |
virtual void | setRGBAFillColor (IntSRGBA)=0 |
Set polygon fill color. More... | |
virtual void | setRGBALineColor (IntSRGBA)=0 |
Set polygon line color. More... | |
virtual IntSRGBA | getRGBALineColor () const =0 |
Get polygon line color. More... | |
virtual void | setStrokeWidth (const double &rStrokeWidth)=0 |
virtual double | getStrokeWidth () const =0 |
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > | getUNOPolyPolygon () const =0 |
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... | |
This interface defines a tools::PolyPolygon canvas object.
Consider this object part of the view, and not of the model data. Although the given polygon is typically copied and held internally (to facilitate migration to incompatible canvases), basegfx::B2DPolygon et al. are ref-counted copy-on-write classes, i.e. memory shouldn't be wasted. On the other hand, the API polygon created internally does necessarily duplicate the data held, but can be easily flushed away via flush().
Definition at line 50 of file polypolygon.hxx.
|
pure virtual |
Get polygon line color.
Implemented in cppcanvas::internal::ImplPolyPolygon.
|
pure virtual |
Implemented in cppcanvas::internal::ImplPolyPolygon.
|
pure virtual |
Implemented in cppcanvas::internal::ImplPolyPolygon.
|
pure virtual |
Set polygon fill color.
Implemented in cppcanvas::internal::ImplPolyPolygon.
|
pure virtual |
Set polygon line color.
Implemented in cppcanvas::internal::ImplPolyPolygon.
|
pure virtual |
Implemented in cppcanvas::internal::ImplPolyPolygon.