LibreOffice Module canvas (master) 1
|
Mixin SpriteSurface. More...
#include <cairo_spritecanvas.hxx>
Additional Inherited Members | |
Public Types inherited from canvas::BufferedGraphicDeviceBase< Base, DeviceHelper, Mutex, UnambiguousBase > | |
typedef GraphicDeviceBase< Base, DeviceHelper, Mutex, UnambiguousBase > | BaseType |
typedef Mutex | MutexType |
Public Types inherited from canvas::GraphicDeviceBase< Base, DeviceHelper, ::osl::MutexGuard, css::uno::XInterface > | |
typedef Base | BaseType |
typedef ::osl::MutexGuard | MutexType |
typedef css::uno::XInterface | UnambiguousBaseType |
typedef ::rtl::Reference< GraphicDeviceBase > | Reference |
Public Types inherited from canvas::SpriteSurface | |
typedef ::rtl::Reference< SpriteSurface > | Reference |
Public Member Functions inherited from canvas::BufferedGraphicDeviceBase< Base, DeviceHelper, Mutex, UnambiguousBase > | |
BufferedGraphicDeviceBase () | |
virtual css::uno::Reference< css::rendering::XBufferController > SAL_CALL | getBufferController () override |
virtual ::sal_Int32 SAL_CALL | createBuffers (::sal_Int32 nBuffers) override |
virtual void SAL_CALL | destroyBuffers () override |
virtual sal_Bool SAL_CALL | showBuffer (sal_Bool bUpdateAll) override |
virtual sal_Bool SAL_CALL | switchBuffer (sal_Bool bUpdateAll) override |
void | setWindow (const css::uno::Reference< css::awt::XWindow2 > &rWindow) |
Set corresponding canvas window. More... | |
css::uno::Any | getXWindow () const |
virtual void | disposeThis () override |
css::awt::Rectangle | transformBounds (const css::awt::Rectangle &rBounds) |
void | boundsChanged (const css::awt::WindowEvent &e) |
virtual void | disposeEventSource (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | windowResized (const css::awt::WindowEvent &e) override |
virtual void SAL_CALL | windowMoved (const css::awt::WindowEvent &e) override |
virtual void SAL_CALL | windowShown (const css::lang::EventObject &) override |
virtual void SAL_CALL | windowHidden (const css::lang::EventObject &) override |
Public Member Functions inherited from canvas::GraphicDeviceBase< Base, DeviceHelper, ::osl::MutexGuard, css::uno::XInterface > | |
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 canvas::SpriteSurface | |
virtual void | showSprite (const Sprite::Reference &rSprite)=0 |
Sprites should call this from XSprite::show() More... | |
virtual void | hideSprite (const Sprite::Reference &rSprite)=0 |
Sprites should call this from XSprite::hide() More... | |
virtual void | moveSprite (const Sprite::Reference &rSprite, const ::basegfx::B2DPoint &rOldPos, const ::basegfx::B2DPoint &rNewPos, const ::basegfx::B2DVector &rSpriteSize)=0 |
Sprites should call this from XSprite::move() More... | |
virtual void | updateSprite (const Sprite::Reference &rSprite, const ::basegfx::B2DPoint &rPos, const ::basegfx::B2DRange &rUpdateArea)=0 |
Sprites should call this when some part of the content has changed. More... | |
Protected Member Functions inherited from canvas::GraphicDeviceBase< Base, DeviceHelper, ::osl::MutexGuard, css::uno::XInterface > | |
~GraphicDeviceBase () | |
css::uno::Any | getDumpScreenContent () const |
void | setDumpScreenContent (const css::uno::Any &rAny) |
Protected Member Functions inherited from canvas::SpriteSurface | |
~SpriteSurface () | |
Protected Attributes inherited from canvas::BufferedGraphicDeviceBase< Base, DeviceHelper, Mutex, UnambiguousBase > | |
css::uno::Reference< css::awt::XWindow2 > | mxWindow |
css::awt::Rectangle | maBounds |
Current bounds of the owning Window. More... | |
bool | mbIsVisible |
True, if the window this canvas is contained in, is visible. More... | |
Protected Attributes inherited from canvas::GraphicDeviceBase< Base, DeviceHelper, ::osl::MutexGuard, css::uno::XInterface > | |
DeviceHelper | maDeviceHelper |
PropertySetHelper | maPropHelper |
bool | mbDumpScreenContent |
Mixin SpriteSurface.
Have to mixin the SpriteSurface before deriving from canvas::SpriteCanvasBase, 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::SpriteCanvasBase directly from canvas::SpriteSurface (because derivees of canvas::SpriteCanvasBase have to explicitly forward the XInterface methods (e.g. via DECLARE_UNO3_AGG_DEFAULTS) anyway). Basically, canvas::CanvasCustomSpriteBase should remain a base class that provides implementation, not to enforce any specific interface on its derivees.
Definition at line 79 of file cairo_spritecanvas.hxx.