|
LibreOffice Module canvas (master) 1
|
#include <spritedevicehelper.hxx>
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 BackBufferSharedPtr & | getBackBuffer () const |
| void | notifySizeUpdate (const css::awt::Rectangle &rBounds) |
Public Member Functions inherited from vclcanvas::DeviceHelper | |
| DeviceHelper () | |
| DeviceHelper (const DeviceHelper &)=delete | |
| make noncopyable More... | |
| const DeviceHelper & | operator= (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 OutDevProviderSharedPtr & | getOutDev () 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... | |
Definition at line 32 of file spritedevicehelper.hxx.
| vclcanvas::SpriteDeviceHelper::SpriteDeviceHelper | ( | ) |
Definition at line 34 of file spritedevicehelper.cxx.
| void vclcanvas::SpriteDeviceHelper::disposing | ( | ) |
Dispose all internal references.
Definition at line 62 of file spritedevicehelper.cxx.
References vclcanvas::DeviceHelper::disposing(), and mpBackBuffer.
| void vclcanvas::SpriteDeviceHelper::dumpScreenContent | ( | ) | const |
Definition at line 96 of file spritedevicehelper.cxx.
References vclcanvas::DeviceHelper::dumpScreenContent(), mpBackBuffer, and WriteDIB().
|
inline |
Definition at line 50 of file spritedevicehelper.hxx.
References mpBackBuffer.
| uno::Any vclcanvas::SpriteDeviceHelper::getDeviceHandle | ( | ) | const |
Definition at line 75 of file spritedevicehelper.cxx.
References vclcanvas::DeviceHelper::getDeviceHandle().
| uno::Any vclcanvas::SpriteDeviceHelper::getSurfaceHandle | ( | ) | const |
Definition at line 80 of file spritedevicehelper.cxx.
References mpBackBuffer.
| void vclcanvas::SpriteDeviceHelper::init | ( | const OutDevProviderSharedPtr & | rOutDev | ) |
Definition at line 38 of file spritedevicehelper.cxx.
References OutputDevice::GetOutputSizePixel(), vclcanvas::DeviceHelper::init(), mpBackBuffer, and vclcanvas::tools::SetDefaultDeviceAntiAliasing().
| uno::Any vclcanvas::SpriteDeviceHelper::isAccelerated | ( | ) | const |
Definition at line 70 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 50 of file spritedevicehelper.cxx.
| bool vclcanvas::SpriteDeviceHelper::switchBuffer | ( | bool | bWindowVisible, |
| bool | bUpdateAll | ||
| ) |
Definition at line 56 of file spritedevicehelper.cxx.
|
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().