LibreOffice Module canvas (master) 1
|
#include <canvasbitmap.hxx>
Public Member Functions | |
CanvasBitmap (const ::Size &rSize, bool bAlphaBitmap, css::rendering::XGraphicDevice &rDevice, const OutDevProviderSharedPtr &rOutDevProvider) | |
Must be called with locked Solar mutex. More... | |
CanvasBitmap (const BitmapEx &rBitmap, css::rendering::XGraphicDevice &rDevice, const OutDevProviderSharedPtr &rOutDevProvider) | |
Must be called with locked Solar mutex. More... | |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual bool | repaint (const GraphicObjectSharedPtr &rGrf, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState, const ::Point &rPt, const ::Size &rSz, const GraphicAttr &rAttr) const override |
BitmapEx | getBitmap () const |
Not threadsafe! Returned object is shared! More... | |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32, const css::uno::Any &) override |
![]() | |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getData (css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerRectangle2D &rect) override |
virtual void SAL_CALL | setData (const css::uno::Sequence< sal_Int8 > &, const css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerRectangle2D &rect) override |
virtual void SAL_CALL | setPixel (const css::uno::Sequence< sal_Int8 > &, const css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerPoint2D &pos) override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getPixel (css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerPoint2D &pos) override |
virtual css::rendering::IntegerBitmapLayout SAL_CALL | getMemoryLayout () override |
Private Attributes | |
css::uno::Reference< css::rendering::XGraphicDevice > | mxDevice |
MUST hold here, too, since CanvasHelper only contains a raw pointer (without refcounting) More... | |
Definition at line 55 of file canvasbitmap.hxx.
vclcanvas::CanvasBitmap::CanvasBitmap | ( | const ::Size & | rSize, |
bool | bAlphaBitmap, | ||
css::rendering::XGraphicDevice & | rDevice, | ||
const OutDevProviderSharedPtr & | rOutDevProvider | ||
) |
Must be called with locked Solar mutex.
rSize | Size in pixel of the bitmap to generate |
bAlphaBitmap | When true, bitmap will have an alpha channel |
rDevice | Reference device, with which bitmap should be compatible |
vclcanvas::CanvasBitmap::CanvasBitmap | ( | const BitmapEx & | rBitmap, |
css::rendering::XGraphicDevice & | rDevice, | ||
const OutDevProviderSharedPtr & | rOutDevProvider | ||
) |
Must be called with locked Solar mutex.
BitmapEx vclcanvas::CanvasBitmap::getBitmap | ( | ) | const |
Not threadsafe! Returned object is shared!
Definition at line 87 of file canvasbitmap.cxx.
Referenced by vclcanvas::tools::bitmapExFromXBitmap(), and getFastPropertyValue().
|
overridevirtual |
Definition at line 110 of file canvasbitmap.cxx.
References getBitmap(), and nHandle.
|
overridevirtual |
Definition at line 72 of file canvasbitmap.cxx.
|
overridevirtual |
Definition at line 82 of file canvasbitmap.cxx.
|
overridevirtual |
|
inlineoverridevirtual |
Definition at line 107 of file canvasbitmap.hxx.
|
overridevirtual |
Definition at line 77 of file canvasbitmap.cxx.
References ServiceName, and cppu::supportsService().
|
private |
MUST hold here, too, since CanvasHelper only contains a raw pointer (without refcounting)
Definition at line 113 of file canvasbitmap.hxx.