12#include <com/sun/star/geometry/IntegerPoint2D.hpp>
13#include <com/sun/star/geometry/IntegerRectangle2D.hpp>
14#include <com/sun/star/rendering/IntegerBitmapLayout.hpp>
43 void init( css::rendering::XGraphicDevice& rDevice,
45 const css::geometry::IntegerSize2D& rSize );
52 css::uno::Reference< css::rendering::XBitmap >
56 css::uno::Sequence< sal_Int8 >
57 getData( css::rendering::IntegerBitmapLayout& bitmapLayout,
58 const css::geometry::IntegerRectangle2D& rect );
60 css::uno::Sequence< sal_Int8 >
61 getPixel( css::rendering::IntegerBitmapLayout& bitmapLayout,
62 const css::geometry::IntegerPoint2D& pos );
Helper class for basic canvas functionality.
css::uno::Sequence< sal_Int8 > getPixel(css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerPoint2D &pos)
void disposing()
Release all references.
css::geometry::IntegerSize2D maSize
css::rendering::IntegerBitmapLayout getMemoryLayout() const
css::uno::Sequence< sal_Int8 > getData(css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerRectangle2D &rect)
void init(css::rendering::XGraphicDevice &rDevice, SpriteDeviceHelper &rDeviceHelper, const css::geometry::IntegerSize2D &rSize)
Initialize canvas helper.
const css::geometry::IntegerSize2D & getSize() const
css::uno::Reference< css::rendering::XBitmap > getScaledBitmap(const css::geometry::RealSize2D &newSize, bool beFast)
Helper class for basic canvas functionality.