LibreOffice Module canvas (master)  1
List of all members
vclcanvas::SpriteCanvasBaseSpriteSurface_Base Class Reference

Mixin SpriteSurface. More...

#include <spritecanvas.hxx>

Inheritance diagram for vclcanvas::SpriteCanvasBaseSpriteSurface_Base:
[legend]
Collaboration diagram for vclcanvas::SpriteCanvasBaseSpriteSurface_Base:
[legend]

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, Mutex, UnambiguousBase >
typedef Base BaseType
 
typedef Mutex MutexType
 
typedef UnambiguousBase UnambiguousBaseType
 
typedef ::rtl::Reference< GraphicDeviceBaseReference
 
- Public Types inherited from canvas::SpriteSurface
typedef ::rtl::Reference< SpriteSurfaceReference
 
- 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, Mutex, UnambiguousBase >
 GraphicDeviceBase ()
 
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 Base
 Base (uno_Environment *pEnv, cppu::Enterable *pEnterable)
 
void acquireWeak ()
 
void releaseWeak ()
 
void harden (uno_Environment **ppHardEnv)
 
void acquire ()
 
void release ()
 
void registerProxyInterface (void **ppProxy, uno_freeProxyFunc freeProxy, OUString const &oid, typelib_InterfaceTypeDescription *pTypeDescr)
 
void revokeInterface (void *pInterface)
 
void getObjectIdentifier (void *pInterface, OUString *pOid)
 
void getRegisteredInterface (void **, OUString const &oid, typelib_InterfaceTypeDescription *)
 
void getRegisteredInterfaces (void ***, sal_Int32 *pnLen, uno_memAlloc memAlloc)
 
void computeObjectIdentifier (void *pInterface, OUString *pOid)
 
void acquireInterface (void *pInterface)
 
void releaseInterface (void *pInterface)
 
virtual void v_enter () override
 
virtual void v_leave () override
 
virtual void v_callInto_v (uno_EnvCallee *pCallee, va_list *pParam) override
 
virtual void v_callOut_v (uno_EnvCallee *pCallee, va_list *pParam) override
 
virtual bool v_isValid (OUString *pReason) override
 
- Public Member Functions inherited from cppu::Enterable
virtual bool v_isValid (rtl::OUString *pReason)=0
 
virtual ~Enterable ()
 
 Enterable ()
 
void enter ()
 
void leave ()
 
void callInto_v (uno_EnvCallee *pCallee, va_list *pParam)
 
void callOut_v (uno_EnvCallee *pCallee, va_list *pParam)
 
void callInto (uno_EnvCallee *pCallee,...)
 
void callOut (uno_EnvCallee *pCallee,...)
 
int isValid (rtl::OUString *pReason)
 
- 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, Mutex, UnambiguousBase >
 ~GraphicDeviceBase ()
 
css::uno::Any getDumpScreenContent () const
 
void setDumpScreenContent (const css::uno::Any &rAny)
 
- Protected Member Functions inherited from Base
virtual ~Base () override
 
- 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, Mutex, UnambiguousBase >
DeviceHelper maDeviceHelper
 
PropertySetHelper maPropHelper
 
bool mbDumpScreenContent
 
- Protected Attributes inherited from Base
oslInterlockedCount m_nRef
 
uno_Environmentm_pEnv
 
std::unique_ptr< cppu::Enterablem_pEnterable
 
EnvFun_Pm_env_acquire
 
EnvFun_Pm_env_release
 
EnvFun_PP_Pm_env_harden
 
EnvFun_Pm_env_acquireWeak
 
EnvFun_Pm_env_releaseWeak
 
ExtEnv_registerProxyInterfacem_env_registerProxyInterface
 
ExtEnv_revokeInterfacem_env_revokeInterface
 
ExtEnv_getObjectIdentifierm_env_getObjectIdentifier
 
ExtEnv_getRegisteredInterfacem_env_getRegisteredInterface
 
ExtEnv_getRegisteredInterfacesm_env_getRegisteredInterfaces
 
ExtEnv_computeObjectIdentifierm_env_computeObjectIdentifier
 
ExtEnv_acquireInterfacem_env_acquireInterface
 
ExtEnv_releaseInterfacem_env_releaseInterface
 

Detailed Description

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 86 of file spritecanvas.hxx.


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