LibreOffice Module canvas (master) 1
|
#include <ogl_canvasbitmap.hxx>
Public Member Functions | |
CanvasBitmap (const css::geometry::IntegerSize2D &rSize, SpriteCanvasRef rDevice, SpriteDeviceHelper &rDeviceHelper) | |
Create a canvas bitmap for the given surface. More... | |
CanvasBitmap (const CanvasBitmap &rSrc) | |
Create verbatim copy (including all recorded actions) More... | |
virtual void | disposeThis () override |
Dispose all internal references. More... | |
bool | renderRecordedActions () const |
Write out recorded actions. More... | |
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 | |
SpriteCanvasRef | mpDevice |
MUST hold here, too, since CanvasHelper only contains a raw pointer (without refcounting) More... | |
Definition at line 38 of file ogl_canvasbitmap.hxx.
oglcanvas::CanvasBitmap::CanvasBitmap | ( | const css::geometry::IntegerSize2D & | rSize, |
SpriteCanvasRef | rDevice, | ||
SpriteDeviceHelper & | rDeviceHelper | ||
) |
Create a canvas bitmap for the given surface.
rSize | Size of the bitmap |
rDevice | Reference device, with which bitmap should be compatible |
oglcanvas::CanvasBitmap::CanvasBitmap | ( | const CanvasBitmap & | rSrc | ) |
Create verbatim copy (including all recorded actions)
Definition at line 34 of file ogl_canvasbitmap.cxx.
|
overridevirtual |
Dispose all internal references.
Definition at line 40 of file ogl_canvasbitmap.cxx.
References mpDevice.
bool oglcanvas::CanvasBitmap::renderRecordedActions | ( | ) | const |
Write out recorded actions.
Definition at line 48 of file ogl_canvasbitmap.cxx.
|
private |
MUST hold here, too, since CanvasHelper only contains a raw pointer (without refcounting)
Definition at line 68 of file ogl_canvasbitmap.hxx.
Referenced by disposeThis().