LibreOffice Module cppcanvas (master) 1
|
#include <implpolypolygon.hxx>
Public Member Functions | |
ImplPolyPolygon (const CanvasSharedPtr &rParentCanvas, css::uno::Reference< css::rendering::XPolyPolygon2D > xPolyPoly) | |
virtual | ~ImplPolyPolygon () override |
virtual void | setRGBAFillColor (IntSRGBA) override |
Set polygon fill color. More... | |
virtual void | setRGBALineColor (IntSRGBA) override |
Set polygon line color. More... | |
virtual IntSRGBA | getRGBALineColor () const override |
Get polygon line color. More... | |
virtual void | setStrokeWidth (const double &rStrokeWidth) override |
virtual double | getStrokeWidth () const override |
virtual bool | draw () const override |
Render to parent canvas. More... | |
virtual css::uno::Reference< css::rendering::XPolyPolygon2D > | getUNOPolyPolygon () const override |
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... | |
Private Member Functions | |
ImplPolyPolygon (const ImplPolyPolygon &)=delete | |
ImplPolyPolygon & | operator= (const ImplPolyPolygon &)=delete |
Private Attributes | |
const css::uno::Reference< css::rendering::XPolyPolygon2D > | mxPolyPoly |
css::rendering::StrokeAttributes | maStrokeAttributes |
css::uno::Sequence< double > | maFillColor |
css::uno::Sequence< double > | maStrokeColor |
bool | mbFillColorSet |
bool | mbStrokeColorSet |
Additional Inherited Members | |
Protected Member Functions inherited from cppcanvas::internal::CanvasGraphicHelper | |
const CanvasSharedPtr & | getCanvas () const |
const css::rendering::RenderState & | getRenderState () const |
CanvasGraphicHelper (CanvasSharedPtr xParentCanvas) | |
virtual void | setTransformation (const ::basegfx::B2DHomMatrix &rMatrix) override |
Set object transformation matrix. More... | |
virtual void | setClip (const ::basegfx::B2DPolyPolygon &rClipPoly) override |
Set object clipping polygon. More... | |
virtual void | setClip () override |
Clear object clipping polygon. More... | |
virtual void | setCompositeOp (sal_Int8 aOp) override |
Set object composite mode. More... | |
Definition at line 38 of file implpolypolygon.hxx.
cppcanvas::internal::ImplPolyPolygon::ImplPolyPolygon | ( | const CanvasSharedPtr & | rParentCanvas, |
css::uno::Reference< css::rendering::XPolyPolygon2D > | xPolyPoly | ||
) |
|
overridevirtual |
Definition at line 55 of file implpolypolygon.cxx.
|
privatedelete |
|
overridevirtual |
Render to parent canvas.
This method renders the content to the parent canvas, i.e. the canvas this object was constructed for.
Implements cppcanvas::CanvasGraphic.
Definition at line 86 of file implpolypolygon.cxx.
References maFillColor, maStrokeAttributes, and mxPolyPoly.
|
overridevirtual |
Get polygon line color.
Implements cppcanvas::PolyPolygon.
Definition at line 71 of file implpolypolygon.cxx.
References cppcanvas::tools::doubleSequenceToIntSRGBA().
|
overridevirtual |
Implements cppcanvas::PolyPolygon.
Definition at line 81 of file implpolypolygon.cxx.
References maStrokeAttributes.
|
overridevirtual |
Implements cppcanvas::PolyPolygon.
Definition at line 126 of file implpolypolygon.cxx.
References mxPolyPoly.
|
privatedelete |
|
overridevirtual |
Set polygon fill color.
Implements cppcanvas::PolyPolygon.
Definition at line 59 of file implpolypolygon.cxx.
References cppcanvas::tools::intSRGBAToDoubleSequence(), and maFillColor.
|
overridevirtual |
Set polygon line color.
Implements cppcanvas::PolyPolygon.
Definition at line 65 of file implpolypolygon.cxx.
References cppcanvas::tools::intSRGBAToDoubleSequence().
|
overridevirtual |
Implements cppcanvas::PolyPolygon.
Definition at line 76 of file implpolypolygon.cxx.
References maStrokeAttributes.
|
private |
Definition at line 67 of file implpolypolygon.hxx.
|
private |
Definition at line 65 of file implpolypolygon.hxx.
|
private |
Definition at line 68 of file implpolypolygon.hxx.
|
private |
Definition at line 69 of file implpolypolygon.hxx.
|
private |
Definition at line 70 of file implpolypolygon.hxx.
|
private |
Definition at line 63 of file implpolypolygon.hxx.