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 39 of file spritedevicehelper.hxx.

Constructor & Destructor Documentation

vclcanvas::SpriteDeviceHelper::SpriteDeviceHelper ( )

Definition at line 37 of file spritedevicehelper.cxx.

Member Function Documentation

void vclcanvas::SpriteDeviceHelper::disposing ( )

Dispose all internal references.

Definition at line 75 of file spritedevicehelper.cxx.

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

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

Definition at line 57 of file spritedevicehelper.hxx.

References mpBackBuffer.

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

Definition at line 88 of file spritedevicehelper.cxx.

References vclcanvas::DeviceHelper::getDeviceHandle().

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

Definition at line 93 of file spritedevicehelper.cxx.

References mpBackBuffer.

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

Definition at line 42 of file spritedevicehelper.cxx.

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

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

Definition at line 83 of file spritedevicehelper.cxx.

References vclcanvas::DeviceHelper::isAccelerated().

void vclcanvas::SpriteDeviceHelper::notifySizeUpdate ( const css::awt::Rectangle &  rBounds)
bool vclcanvas::SpriteDeviceHelper::showBuffer ( bool  bWindowVisible,
bool  bUpdateAll 
)

Definition at line 63 of file spritedevicehelper.cxx.

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

Definition at line 69 of file spritedevicehelper.cxx.

Member Data Documentation

BackBufferSharedPtr vclcanvas::SpriteDeviceHelper::mpBackBuffer
private

This buffer holds the background content for all associated canvases.

Definition at line 63 of file spritedevicehelper.hxx.

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


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