25#include <com/sun/star/lang/XServiceInfo.hpp>
26#include <com/sun/star/lang/XComponent.hpp>
27#include <com/sun/star/rendering/XCustomSprite.hpp>
28#include <com/sun/star/rendering/XIntegerBitmap.hpp>
29#include <com/sun/star/rendering/XPolyPolygon2D.hpp>
47 typedef ::cppu::WeakComponentImplHelper< css::rendering::XCustomSprite,
48 css::rendering::XBitmapCanvas,
49 css::rendering::XIntegerBitmap,
101 const std::shared_ptr<canvas::ISurfaceProxyManager>& rSurfaceProxy,
102 bool bShowSpriteBounds );
119 virtual void redraw()
const override;
Base class, initializing its own baseclass with m_aMutex.
Helper template to handle XCustomSprite method forwarding to CanvasCustomSpriteHelper.
Helper class for basic canvas functionality.
CanvasCustomSprite(const css::geometry::RealSize2D &rSpriteSize, const SpriteCanvasRef &rRefDevice, const IDXRenderModuleSharedPtr &rRenderModule, const std::shared_ptr< canvas::ISurfaceProxyManager > &rSurfaceProxy, bool bShowSpriteBounds)
Create a custom sprite.
virtual void disposeThis() override
Object is being disposed.
SpriteCanvasRef mpSpriteCanvas
MUST hold here, too, since BitmapCanvasHelper only contains a raw pointer (without refcounting)
DXSurfaceBitmapSharedPtr mpSurface
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void redraw() const override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
Helper class for canvas sprites.
Specialization of canvas::Sprite interface, to also provide redraw methods.
::cppu::WeakComponentImplHelper< css::rendering::XCustomSprite, css::rendering::XBitmapCanvas, css::rendering::XIntegerBitmap, css::lang::XServiceInfo > CanvasCustomSpriteBase_Base
std::shared_ptr< DXSurfaceBitmap > DXSurfaceBitmapSharedPtr
std::shared_ptr< IDXRenderModule > IDXRenderModuleSharedPtr
::canvas::CanvasCustomSpriteBase< CanvasCustomSpriteSpriteBase_Base, SpriteHelper, BitmapCanvasHelper, ::osl::MutexGuard, ::cppu::OWeakObject > CanvasCustomSpriteBaseT
#define DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS(classname, baseclass, implhelper)