LibreOffice Module cppcanvas (master) 1
|
#include <implbitmap.hxx>
Public Member Functions | |
ImplBitmap (const CanvasSharedPtr &rParentCanvas, const css::uno::Reference< css::rendering::XBitmap > &rBitmap) | |
virtual | ~ImplBitmap () override |
virtual bool | draw () const override |
Render to parent canvas. More... | |
virtual void | drawAlphaModulated (double nAlphaModulation) const override |
Render to parent canvas, with global alpha. More... | |
virtual BitmapCanvasSharedPtr | getBitmapCanvas () const override |
virtual css::uno::Reference< css::rendering::XBitmap > | getUNOBitmap () const override |
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... | |
Private Member Functions | |
ImplBitmap (const ImplBitmap &)=delete | |
ImplBitmap & | operator= (const ImplBitmap &)=delete |
Private Attributes | |
const css::uno::Reference< css::rendering::XBitmap > | mxBitmap |
BitmapCanvasSharedPtr | mpBitmapCanvas |
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 34 of file implbitmap.hxx.
cppcanvas::internal::ImplBitmap::ImplBitmap | ( | const CanvasSharedPtr & | rParentCanvas, |
const css::uno::Reference< css::rendering::XBitmap > & | rBitmap | ||
) |
|
overridevirtual |
Definition at line 47 of file implbitmap.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 51 of file implbitmap.cxx.
References mxBitmap.
|
overridevirtual |
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]). |
Implements cppcanvas::Bitmap.
Definition at line 72 of file implbitmap.cxx.
References mxBitmap.
|
overridevirtual |
Implements cppcanvas::Bitmap.
Definition at line 96 of file implbitmap.cxx.
|
overridevirtual |
|
privatedelete |
|
private |
Definition at line 57 of file implbitmap.hxx.
|
private |
Definition at line 56 of file implbitmap.hxx.