LibreOffice Module canvas (master) 1
|
#include <cairo_canvasbitmap.hxx>
Public Member Functions | |
CanvasBitmap (const ::basegfx::B2ISize &rSize, SurfaceProviderRef rDevice, css::rendering::XGraphicDevice *pDevice, bool bHasAlpha) | |
Create a canvas bitmap for the given surface. More... | |
virtual void | disposeThis () override |
Dispose all internal references. 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 ::cairo::SurfaceSharedPtr | getSurface () override |
virtual ::cairo::SurfaceSharedPtr | createSurface (const ::basegfx::B2ISize &rSize, int aContent) override |
virtual ::cairo::SurfaceSharedPtr | createSurface (::Bitmap &rBitmap) override |
virtual ::cairo::SurfaceSharedPtr | changeSurface () override |
virtual OutputDevice * | getOutputDevice () override |
virtual bool | repaint (const ::cairo::SurfaceSharedPtr &pSurface, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32, const css::uno::Any &) override |
Public Member Functions inherited from canvas::IntegerBitmapBase< Base > | |
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 | |
SurfaceProviderRef | mpSurfaceProvider |
::cairo::SurfaceSharedPtr | mpBufferSurface |
::cairo::CairoSharedPtr | mpBufferCairo |
const ::basegfx::B2ISize | maSize |
const bool | mbHasAlpha |
Definition at line 59 of file cairo_canvasbitmap.hxx.
cairocanvas::CanvasBitmap::CanvasBitmap | ( | const ::basegfx::B2ISize & | rSize, |
SurfaceProviderRef | rDevice, | ||
css::rendering::XGraphicDevice * | pDevice, | ||
bool | bHasAlpha | ||
) |
Create a canvas bitmap for the given surface.
rSize | Size of the bitmap |
rDevice | Reference device, with which bitmap should be compatible |
References DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS.
|
override |
Definition at line 89 of file cairo_canvasbitmap.cxx.
|
override |
Definition at line 84 of file cairo_canvasbitmap.cxx.
|
override |
Definition at line 79 of file cairo_canvasbitmap.cxx.
|
overridevirtual |
Dispose all internal references.
Definition at line 63 of file cairo_canvasbitmap.cxx.
|
overridevirtual |
Definition at line 107 of file cairo_canvasbitmap.cxx.
References get(), basegfx::Size2D< typename TYPE >::getHeight(), basegfx::Size2D< typename TYPE >::getWidth(), maSize, and nHandle.
|
overridevirtual |
Definition at line 146 of file cairo_canvasbitmap.cxx.
|
overridevirtual |
Definition at line 95 of file cairo_canvasbitmap.cxx.
|
overridevirtual |
Definition at line 156 of file cairo_canvasbitmap.cxx.
|
override |
Definition at line 74 of file cairo_canvasbitmap.cxx.
Referenced by cairocanvas::surfaceFromXBitmap().
|
overridevirtual |
|
inlineoverridevirtual |
Definition at line 113 of file cairo_canvasbitmap.hxx.
|
overridevirtual |
Definition at line 151 of file cairo_canvasbitmap.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 120 of file cairo_canvasbitmap.hxx.
|
private |
Definition at line 121 of file cairo_canvasbitmap.hxx.
|
private |
Definition at line 118 of file cairo_canvasbitmap.hxx.
|
private |
Definition at line 117 of file cairo_canvasbitmap.hxx.
|
private |
Definition at line 116 of file cairo_canvasbitmap.hxx.