22#include <com/sun/star/rendering/IntegerBitmapLayout.hpp>
43 virtual css::uno::Sequence< sal_Int8 > SAL_CALL
getData( css::rendering::IntegerBitmapLayout& bitmapLayout,
44 const css::geometry::IntegerRectangle2D& rect )
override
48 static_cast< typename Base::UnambiguousBaseType*
>(
this));
51 typename Base::MutexType aGuard( Base::m_aMutex );
53 return Base::maCanvasHelper.getData( bitmapLayout,
57 virtual void SAL_CALL
setData(
const css::uno::Sequence< sal_Int8 >&,
58 const css::rendering::IntegerBitmapLayout& bitmapLayout,
59 const css::geometry::IntegerRectangle2D& rect )
override
63 static_cast< typename Base::UnambiguousBaseType*
>(
this));
66 typename Base::MutexType aGuard( Base::m_aMutex );
68 Base::mbSurfaceDirty =
true;
71 virtual void SAL_CALL
setPixel(
const css::uno::Sequence< sal_Int8 >&,
72 const css::rendering::IntegerBitmapLayout& bitmapLayout,
73 const css::geometry::IntegerPoint2D& pos )
override
77 static_cast< typename Base::UnambiguousBaseType*
>(
this));
80 typename Base::MutexType aGuard( Base::m_aMutex );
82 Base::mbSurfaceDirty =
true;
85 virtual css::uno::Sequence< sal_Int8 > SAL_CALL
getPixel( css::rendering::IntegerBitmapLayout& bitmapLayout,
86 const css::geometry::IntegerPoint2D& pos )
override
90 static_cast< typename Base::UnambiguousBaseType*
>(
this));
93 typename Base::MutexType aGuard( Base::m_aMutex );
95 return Base::maCanvasHelper.getPixel( bitmapLayout,
101 typename Base::MutexType aGuard( Base::m_aMutex );
103 return Base::maCanvasHelper.getMemoryLayout();
Helper template to handle XIntegerBitmap method forwarding to BitmapCanvasHelper.
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getPixel(css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerPoint2D &pos) override
virtual css::rendering::IntegerBitmapLayout SAL_CALL getMemoryLayout() override
virtual void SAL_CALL setData(const css::uno::Sequence< sal_Int8 > &, const css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerRectangle2D &rect) override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getData(css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerRectangle2D &rect) override
virtual void SAL_CALL setPixel(const css::uno::Sequence< sal_Int8 > &, const css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerPoint2D &pos) override