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

#include <spritedevicehelper.hxx>

Inheritance diagram for vclcanvas::SpriteDeviceHelper:
[legend]
Collaboration diagram for vclcanvas::SpriteDeviceHelper:
[legend]

Public Member Functions

 SpriteDeviceHelper ()
 
void init (const OutDevProviderSharedPtr &rOutDev)
 
void disposing ()
 Dispose all internal references. More...
 
bool showBuffer (bool bWindowVisible, bool bUpdateAll)
 
bool switchBuffer (bool bWindowVisible, bool bUpdateAll)
 
css::uno::Any isAccelerated () const
 
css::uno::Any getDeviceHandle () const
 
css::uno::Any getSurfaceHandle () const
 
void dumpScreenContent () const
 
const BackBufferSharedPtrgetBackBuffer () const
 
void notifySizeUpdate (const css::awt::Rectangle &rBounds)
 
- Public Member Functions inherited from vclcanvas::DeviceHelper
 DeviceHelper ()
 
 DeviceHelper (const DeviceHelper &)=delete
 make noncopyable More...
 
const DeviceHelperoperator= (const DeviceHelper &)=delete
 
void init (const OutDevProviderSharedPtr &rOutDev)
 
void disposing ()
 Dispose all internal references. More...
 
css::geometry::RealSize2D getPhysicalResolution ()
 
css::geometry::RealSize2D getPhysicalSize ()
 
css::uno::Reference< css::rendering::XLinePolyPolygon2D > createCompatibleLinePolyPolygon (const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::uno::Sequence< css::uno::Sequence< css::geometry::RealPoint2D > > &points)
 
css::uno::Reference< css::rendering::XBezierPolyPolygon2D > createCompatibleBezierPolyPolygon (const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::uno::Sequence< css::uno::Sequence< css::geometry::RealBezierSegment2D > > &points)
 
css::uno::Reference< css::rendering::XBitmap > createCompatibleBitmap (const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
 
css::uno::Reference< css::rendering::XVolatileBitmap > createVolatileBitmap (const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
 
css::uno::Reference< css::rendering::XBitmap > createCompatibleAlphaBitmap (const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
 
css::uno::Reference< css::rendering::XVolatileBitmap > createVolatileAlphaBitmap (const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
 
css::uno::Any isAccelerated () const
 
css::uno::Any getDeviceHandle () const
 
css::uno::Any getSurfaceHandle () const
 
css::uno::Reference< css::rendering::XColorSpace > const & getColorSpace () const
 
const OutDevProviderSharedPtrgetOutDev () const
 
void dumpScreenContent () const
 called when DumpScreenContent property is enabled on XGraphicDevice, and writes out bitmaps of current screen. More...
 

Private Attributes

BackBufferSharedPtr mpBackBuffer
 This buffer holds the background content for all associated canvases. More...
 

Detailed Description

Definition at line 32 of file spritedevicehelper.hxx.

Constructor & Destructor Documentation

◆ SpriteDeviceHelper()

vclcanvas::SpriteDeviceHelper::SpriteDeviceHelper ( )

Definition at line 34 of file spritedevicehelper.cxx.

Member Function Documentation

◆ disposing()

void vclcanvas::SpriteDeviceHelper::disposing ( )

Dispose all internal references.

Definition at line 62 of file spritedevicehelper.cxx.

References vclcanvas::DeviceHelper::disposing(), and mpBackBuffer.

◆ dumpScreenContent()

void vclcanvas::SpriteDeviceHelper::dumpScreenContent ( ) const

◆ getBackBuffer()

const BackBufferSharedPtr & vclcanvas::SpriteDeviceHelper::getBackBuffer ( ) const
inline

Definition at line 50 of file spritedevicehelper.hxx.

References mpBackBuffer.

◆ getDeviceHandle()

uno::Any vclcanvas::SpriteDeviceHelper::getDeviceHandle ( ) const

Definition at line 75 of file spritedevicehelper.cxx.

References vclcanvas::DeviceHelper::getDeviceHandle().

◆ getSurfaceHandle()

uno::Any vclcanvas::SpriteDeviceHelper::getSurfaceHandle ( ) const

Definition at line 80 of file spritedevicehelper.cxx.

References mpBackBuffer.

◆ init()

void vclcanvas::SpriteDeviceHelper::init ( const OutDevProviderSharedPtr rOutDev)

◆ isAccelerated()

uno::Any vclcanvas::SpriteDeviceHelper::isAccelerated ( ) const

Definition at line 70 of file spritedevicehelper.cxx.

References vclcanvas::DeviceHelper::isAccelerated().

◆ notifySizeUpdate()

void vclcanvas::SpriteDeviceHelper::notifySizeUpdate ( const css::awt::Rectangle &  rBounds)

◆ showBuffer()

bool vclcanvas::SpriteDeviceHelper::showBuffer ( bool  bWindowVisible,
bool  bUpdateAll 
)

Definition at line 50 of file spritedevicehelper.cxx.

◆ switchBuffer()

bool vclcanvas::SpriteDeviceHelper::switchBuffer ( bool  bWindowVisible,
bool  bUpdateAll 
)

Definition at line 56 of file spritedevicehelper.cxx.

Member Data Documentation

◆ mpBackBuffer

BackBufferSharedPtr vclcanvas::SpriteDeviceHelper::mpBackBuffer
private

This buffer holds the background content for all associated canvases.

Definition at line 56 of file spritedevicehelper.hxx.

Referenced by disposing(), dumpScreenContent(), getBackBuffer(), getSurfaceHandle(), and init().


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