14#include <com/sun/star/uno/XComponentContext.hpp>
15#include <com/sun/star/beans/XPropertySet.hpp>
16#include <com/sun/star/lang/XServiceName.hpp>
17#include <com/sun/star/awt/XWindowListener.hpp>
18#include <com/sun/star/util/XUpdatable.hpp>
19#include <com/sun/star/rendering/XSpriteCanvas.hpp>
20#include <com/sun/star/rendering/XGraphicDevice.hpp>
21#include <com/sun/star/rendering/XBufferController.hpp>
36 class CanvasCustomSprite;
38 typedef ::cppu::WeakComponentImplHelper< css::rendering::XSpriteCanvas,
39 css::rendering::XGraphicDevice,
40 css::lang::XMultiServiceFactory,
41 css::rendering::XBufferController,
42 css::awt::XWindowListener,
43 css::util::XUpdatable,
44 css::beans::XPropertySet,
70 css::uno::Any >& aArguments,
71 const css::uno::Reference<
72 css::uno::XComponentContext >& rxContext );
91 virtual css::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL
createSpriteFromAnimation(
const css::uno::Reference< css::rendering::XAnimation >& animation )
override;
92 virtual css::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL
createSpriteFromBitmaps(
const css::uno::Sequence< css::uno::Reference< css::rendering::XBitmap > >& animationBitmaps,
::sal_Int8 interpolationMode )
override;
93 virtual css::uno::Reference< css::rendering::XCustomSprite > SAL_CALL
createCustomSprite(
const css::geometry::RealSize2D& spriteSize )
override;
94 virtual css::uno::Reference< css::rendering::XSprite > SAL_CALL
createClonedSprite(
const css::uno::Reference< css::rendering::XSprite >& original )
override;
100 void show( const ::rtl::Reference< CanvasCustomSprite >& );
101 void hide( const ::rtl::Reference< CanvasCustomSprite >& );
Helper template base class for XGraphicDevice implementations on windows.
Helper template to handle XCanvas method forwarding to CanvasHelper.
Base class, initializing its own baseclass with m_aMutex.
Helper class for basic canvas functionality.
Product of this component's factory.
virtual sal_Bool SAL_CALL updateScreen(sal_Bool bUpdateAll) override
virtual void disposeThis() override
Dispose all internal references.
virtual css::uno::Reference< css::rendering::XCustomSprite > SAL_CALL createCustomSprite(const css::geometry::RealSize2D &spriteSize) override
SpriteCanvas(const css::uno::Sequence< css::uno::Any > &aArguments, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual css::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL createSpriteFromBitmaps(const css::uno::Sequence< css::uno::Reference< css::rendering::XBitmap > > &animationBitmaps, ::sal_Int8 interpolationMode) override
virtual css::uno::Reference< css::rendering::XSprite > SAL_CALL createClonedSprite(const css::uno::Reference< css::rendering::XSprite > &original) override
void hide(const ::rtl::Reference< CanvasCustomSprite > &)
css::uno::Sequence< css::uno::Any > maArguments
virtual OUString SAL_CALL getServiceName() override
void renderRecordedActions() const
Write out recorded actions.
virtual sal_Bool SAL_CALL switchBuffer(sal_Bool bUpdateAll) override
virtual css::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL createSpriteFromAnimation(const css::uno::Reference< css::rendering::XAnimation > &animation) override
virtual sal_Bool SAL_CALL showBuffer(sal_Bool bUpdateAll) override
void show(const ::rtl::Reference< CanvasCustomSprite > &)
::canvas::CanvasBase< SpriteCanvasDeviceBaseT, CanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject > SpriteCanvasBaseT
::canvas::BufferedGraphicDeviceBase< ::canvas::DisambiguationHelper< WindowGraphicDeviceBase_Base >, SpriteDeviceHelper, ::osl::MutexGuard, ::cppu::OWeakObject > SpriteCanvasDeviceBaseT
::rtl::Reference< SpriteCanvas > SpriteCanvasRef
::cppu::WeakComponentImplHelper< css::rendering::XSpriteCanvas, css::rendering::XGraphicDevice, css::lang::XMultiServiceFactory, css::rendering::XBufferController, css::awt::XWindowListener, css::util::XUpdatable, css::beans::XPropertySet, css::lang::XServiceName > WindowGraphicDeviceBase_Base
#define DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS(classname, baseclass, implhelper)