LibreOffice Module canvas (master)  1
List of all members
cairocanvas::CanvasBaseSurfaceProvider_Base Class Reference

Mixin SurfaceProvider. More...

#include <cairo_canvas.hxx>

Inheritance diagram for cairocanvas::CanvasBaseSurfaceProvider_Base:
[legend]
Collaboration diagram for cairocanvas::CanvasBaseSurfaceProvider_Base:
[legend]

Additional Inherited Members

- Public Types inherited from canvas::GraphicDeviceBase< Base, DeviceHelper, Mutex, UnambiguousBase >
typedef Base BaseType
 
typedef Mutex MutexType
 
typedef UnambiguousBase UnambiguousBaseType
 
typedef ::rtl::Reference< GraphicDeviceBaseReference
 
- Public Member Functions inherited from canvas::GraphicDeviceBase< Base, DeviceHelper, Mutex, UnambiguousBase >
 GraphicDeviceBase ()
 
virtual void disposeThis () override
 
virtual css::uno::Reference< css::rendering::XBufferController > SAL_CALL getBufferController () override
 
virtual css::uno::Reference< css::rendering::XColorSpace > SAL_CALL getDeviceColorSpace () override
 
virtual css::geometry::RealSize2D SAL_CALL getPhysicalResolution () override
 
virtual css::geometry::RealSize2D SAL_CALL getPhysicalSize () override
 
virtual css::uno::Reference< css::rendering::XLinePolyPolygon2D > SAL_CALL createCompatibleLinePolyPolygon (const css::uno::Sequence< css::uno::Sequence< css::geometry::RealPoint2D > > &points) override
 
virtual css::uno::Reference< css::rendering::XBezierPolyPolygon2D > SAL_CALL createCompatibleBezierPolyPolygon (const css::uno::Sequence< css::uno::Sequence< css::geometry::RealBezierSegment2D > > &points) override
 
virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleBitmap (const css::geometry::IntegerSize2D &size) override
 
virtual css::uno::Reference< css::rendering::XVolatileBitmap > SAL_CALL createVolatileBitmap (const css::geometry::IntegerSize2D &size) override
 
virtual css::uno::Reference< css::rendering::XBitmap > SAL_CALL createCompatibleAlphaBitmap (const css::geometry::IntegerSize2D &size) override
 
virtual css::uno::Reference< css::rendering::XVolatileBitmap > SAL_CALL createVolatileAlphaBitmap (const css::geometry::IntegerSize2D &size) override
 
virtual css::uno::Reference< css::lang::XMultiServiceFactory > SAL_CALL getParametricPolyPolygonFactory () override
 
virtual sal_Bool SAL_CALL hasFullScreenMode () override
 
virtual sal_Bool SAL_CALL enterFullScreenMode (sal_Bool) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance (const OUString &aServiceSpecifier) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const OUString &aServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
virtual void SAL_CALL update () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &aPropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &, const css::uno::Reference< css::beans::XPropertyChangeListener > &) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &, const css::uno::Reference< css::beans::XVetoableChangeListener > &) override
 
- Public Member Functions inherited from cairocanvas::SurfaceProvider
virtual ~SurfaceProvider ()
 
virtual ::cairo::SurfaceSharedPtr getSurface ()=0
 Query surface from this provider. More...
 
virtual ::cairo::SurfaceSharedPtr createSurface (const ::basegfx::B2ISize &rSize, int aContent)=0
 create new surface in given size More...
 
virtual ::cairo::SurfaceSharedPtr createSurface (::Bitmap &rBitmap)=0
 create new surface from given bitmap More...
 
virtual ::cairo::SurfaceSharedPtr changeSurface ()=0
 convert surface from alpha to non-alpha, does not copy content channel. More...
 
virtual OutputDevicegetOutputDevice ()=0
 Provides the underlying vcl outputdevice this surface renders on. More...
 
- Protected Member Functions inherited from canvas::GraphicDeviceBase< Base, DeviceHelper, Mutex, UnambiguousBase >
 ~GraphicDeviceBase ()
 
css::uno::Any getDumpScreenContent () const
 
void setDumpScreenContent (const css::uno::Any &rAny)
 
- Protected Attributes inherited from canvas::GraphicDeviceBase< Base, DeviceHelper, Mutex, UnambiguousBase >
DeviceHelper maDeviceHelper
 
PropertySetHelper maPropHelper
 
bool mbDumpScreenContent
 

Detailed Description

Mixin SurfaceProvider.

Have to mixin the SurfaceProvider before deriving from canvas::CanvasBase, as this template should already implement some of those interface methods.

The reason why this appears kinda convoluted is the fact that we cannot specify non-IDL types as WeakComponentImplHelper template args, and furthermore, don't want to derive canvas::CanvasBase directly from SurfaceProvider (because derivees of canvas::CanvasBase have to explicitly forward the XInterface methods (e.g. via DECLARE_UNO3_AGG_DEFAULTS) anyway).

Definition at line 75 of file cairo_canvas.hxx.


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