LibreOffice Module cppcanvas (master) 1
|
This interface defines a Bitmap canvas object. More...
#include <bitmap.hxx>
Public Member Functions | |
virtual void | drawAlphaModulated (double nAlphaModulation) const =0 |
Render to parent canvas, with global alpha. More... | |
virtual BitmapCanvasSharedPtr | getBitmapCanvas () const =0 |
virtual css::uno::Reference< css::rendering::XBitmap > | getUNOBitmap () 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 Bitmap canvas object.
Consider this object part of the view, and not of the model data, as this bitmap can only be painted on its parent canvas
Definition at line 44 of file bitmap.hxx.
|
pure virtual |
Render to parent canvas, with global alpha.
This method renders the content to the parent canvas, i.e. the canvas this object was constructed for.
nAlphaModulation | Global alpha value, with which each pixel alpha value gets multiplied. For a normal, opaque bitmap, this will make the bitmap appear transparent with the given alpha value (value must be in the range [0,1]). |
Implemented in cppcanvas::internal::ImplBitmap.
|
pure virtual |
Implemented in cppcanvas::internal::ImplBitmap.
|
pure virtual |
Implemented in cppcanvas::internal::ImplBitmap.