22#include <com/sun/star/rendering/XGraphicDevice.hpp>
50 void init( SurfaceProvider& rSurfaceProvider,
60 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
61 const css::uno::Sequence< css::uno::Sequence< css::geometry::RealPoint2D > >& points );
63 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
64 const css::uno::Sequence< css::uno::Sequence< css::geometry::RealBezierSegment2D > >& points );
66 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
67 const css::geometry::IntegerSize2D& size );
69 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
70 const css::geometry::IntegerSize2D& size );
72 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
73 const css::geometry::IntegerSize2D& size );
75 const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice,
76 const css::geometry::IntegerSize2D& size );
104 void implInit( SurfaceProvider& rSurfaceProvider,
106 void setSize( const ::basegfx::B2ISize& rSize );
void disposing()
Dispose all internal references.
void init(SurfaceProvider &rSurfaceProvider, OutputDevice &rRefDevice)
init helper
css::uno::Reference< css::rendering::XVolatileBitmap > createVolatileAlphaBitmap(const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
void implInit(SurfaceProvider &rSurfaceProvider, OutputDevice &rRefDevice)
init helper
::cairo::SurfaceSharedPtr createSurface(const ::basegfx::B2ISize &rSize, int aContent)
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)
void setSize(const ::basegfx::B2ISize &rSize)
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::XBezierPolyPolygon2D > createCompatibleBezierPolyPolygon(const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::uno::Sequence< css::uno::Sequence< css::geometry::RealBezierSegment2D > > &points)
::cairo::SurfaceSharedPtr mpSurface
const DeviceHelper & operator=(const DeviceHelper &)=delete
css::uno::Reference< css::rendering::XColorSpace > const & getColorSpace() const
VclPtr< OutputDevice > mpRefDevice
void dumpScreenContent() const
called when DumpScreenContent property is enabled on XGraphicDevice, and writes out bitmaps of curren...
css::uno::Reference< css::rendering::XBitmap > createCompatibleBitmap(const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
DeviceHelper(const DeviceHelper &)=delete
make noncopyable
css::geometry::RealSize2D getPhysicalResolution()
const ::cairo::SurfaceSharedPtr & getSurface() const
css::uno::Any getSurfaceHandle() const
OutputDevice * getOutputDevice() const
css::uno::Any getDeviceHandle() const
css::uno::Reference< css::rendering::XBitmap > createCompatibleAlphaBitmap(const css::uno::Reference< css::rendering::XGraphicDevice > &rDevice, const css::geometry::IntegerSize2D &size)
SurfaceProvider * mpSurfaceProvider
Surface provider.
css::uno::Any isAccelerated() const
std::shared_ptr< Surface > SurfaceSharedPtr