22#include <com/sun/star/rendering/XCanvas.hpp>
73 class Mutex=::osl::MutexGuard,
75 public IntegerBitmapBase< BitmapCanvasBase2<Base, CanvasHelper, Mutex, UnambiguousBase> >
95 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
100 BaseType::disposeThis();
104 virtual void SAL_CALL
clear()
override
106 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
111 return BaseType::clear();
114 virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL
115 drawBitmap(
const css::uno::Reference< css::rendering::XBitmap >& xBitmap,
116 const css::rendering::ViewState& viewState,
117 const css::rendering::RenderState& renderState )
override
121 static_cast< typename BaseType::UnambiguousBaseType*
>(
this));
123 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
125 maSpriteHelper.checkDrawBitmap(
this, xBitmap, viewState, renderState );
128 return BaseType::drawBitmap( xBitmap,
141 virtual void SAL_CALL
setAlpha(
double alpha )
override
145 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
150 virtual void SAL_CALL
move(
const css::geometry::RealPoint2D& aNewPos,
151 const css::rendering::ViewState& viewState,
152 const css::rendering::RenderState& renderState )
override
156 static_cast< typename BaseType::UnambiguousBaseType*
>(
this));
158 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
163 virtual void SAL_CALL
transform(
const css::geometry::AffineMatrix2D& aTransformation )
override
167 static_cast< typename BaseType::UnambiguousBaseType*
>(
this));
169 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
174 virtual void SAL_CALL
clip(
const css::uno::Reference< css::rendering::XPolyPolygon2D >& aClip )
override
178 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
185 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
190 virtual void SAL_CALL
show()
override
192 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
197 virtual void SAL_CALL
hide()
override
199 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
205 virtual css::uno::Reference< css::rendering::XCanvas > SAL_CALL
208 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
216 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
223 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
225 return BaseType::mbSurfaceDirty;
230 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
237 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
244 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
251 typename BaseType::MutexType aGuard( BaseType::m_aMutex );
Helper template to handle XCustomSprite method forwarding to CanvasCustomSpriteHelper.
SpriteHelper maSpriteHelper
virtual css::uno::Reference< css::rendering::XCanvas > SAL_CALL getContentCanvas() override
virtual void SAL_CALL transform(const css::geometry::AffineMatrix2D &aTransformation) override
virtual void SAL_CALL setAlpha(double alpha) override
virtual void SAL_CALL setPriority(double nPriority) override
virtual bool isAreaUpdateOpaque(const ::basegfx::B2DRange &rUpdateArea) const override
virtual void SAL_CALL clear() override
virtual ::basegfx::B2DVector getSizePixel() const override
virtual void SAL_CALL show() override
virtual void SAL_CALL hide() override
virtual void SAL_CALL clip(const css::uno::Reference< css::rendering::XPolyPolygon2D > &aClip) override
virtual void disposeThis() override
Object is being disposed.
virtual bool isContentChanged() const override
virtual void SAL_CALL move(const css::geometry::RealPoint2D &aNewPos, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override
virtual css::uno::Reference< css::rendering::XCachedPrimitive > SAL_CALL drawBitmap(const css::uno::Reference< css::rendering::XBitmap > &xBitmap, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState) override
virtual ::basegfx::B2DPoint getPosPixel() const override
virtual double getPriority() const override
virtual ::basegfx::B2DRange getUpdateArea() const override
IntegerBitmapBase< BitmapCanvasBase2< Base, CanvasHelper, Mutex, UnambiguousBase > > BaseType
Helper template to handle XIntegerBitmap method forwarding to BitmapCanvasHelper.
constexpr double alpha[nDetails]