LibreOffice Module canvas (master)  1
Public Member Functions | Private Attributes | List of all members
oglcanvas::CanvasBitmap Class Reference

#include <ogl_canvasbitmap.hxx>

Inheritance diagram for oglcanvas::CanvasBitmap:
[legend]
Collaboration diagram for oglcanvas::CanvasBitmap:
[legend]

Public Member Functions

 CanvasBitmap (const css::geometry::IntegerSize2D &rSize, const 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...
 

Detailed Description

Definition at line 38 of file ogl_canvasbitmap.hxx.

Constructor & Destructor Documentation

oglcanvas::CanvasBitmap::CanvasBitmap ( const css::geometry::IntegerSize2D &  rSize,
const SpriteCanvasRef rDevice,
SpriteDeviceHelper rDeviceHelper 
)

Create a canvas bitmap for the given surface.

Parameters
rSizeSize of the bitmap
rDeviceReference device, with which bitmap should be compatible
oglcanvas::CanvasBitmap::CanvasBitmap ( const CanvasBitmap rSrc)

Create verbatim copy (including all recorded actions)

Definition at line 32 of file ogl_canvasbitmap.cxx.

Member Function Documentation

void oglcanvas::CanvasBitmap::disposeThis ( )
overridevirtual

Dispose all internal references.

Definition at line 38 of file ogl_canvasbitmap.cxx.

References mpDevice.

bool oglcanvas::CanvasBitmap::renderRecordedActions ( ) const

Write out recorded actions.

Definition at line 46 of file ogl_canvasbitmap.cxx.

Member Data Documentation

SpriteCanvasRef oglcanvas::CanvasBitmap::mpDevice
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().


The documentation for this class was generated from the following files: