22#include <com/sun/star/rendering/XCanvas.hpp>
23#include <com/sun/star/rendering/XBitmapCanvas.hpp>
65 const ::basegfx::B2ISize& rOutputOffset );
72 css::uno::Reference< css::rendering::XCachedPrimitive >
74 const css::uno::Reference<
75 css::rendering::XTextLayout >& laidOutText,
76 const css::rendering::ViewState& viewState,
77 const css::rendering::RenderState& renderState );
82 void copyRect(
const css::rendering::XCanvas* pCanvas,
83 const css::uno::Reference<
84 css::rendering::XBitmapCanvas >& sourceCanvas,
85 const css::geometry::RealRectangle2D& sourceRect,
86 const css::rendering::ViewState& sourceViewState,
87 const css::rendering::RenderState& sourceRenderState,
88 const css::geometry::RealRectangle2D& destRect,
89 const css::rendering::ViewState& destViewState,
90 const css::rendering::RenderState& destRenderState );
92 css::geometry::IntegerSize2D
getSize();
94 css::uno::Reference< css::rendering::XBitmap >
98 css::uno::Sequence< sal_Int8 >
99 getData( css::rendering::IntegerBitmapLayout& bitmapLayout,
100 const css::geometry::IntegerRectangle2D& rect );
102 void setData(
const css::uno::Sequence< sal_Int8 >& data,
103 const css::rendering::IntegerBitmapLayout& bitmapLayout,
104 const css::geometry::IntegerRectangle2D& rect );
107 const css::rendering::IntegerBitmapLayout& bitmapLayout,
108 const css::geometry::IntegerPoint2D& pos );
110 css::uno::Sequence< sal_Int8 >
111 getPixel( css::rendering::IntegerBitmapLayout& bitmapLayout,
112 const css::geometry::IntegerPoint2D& pos );
114 css::uno::Reference< css::rendering::XBitmapPalette >
getPalette();
Helper class for basic canvas functionality.
css::geometry::IntegerSize2D getSize()
css::rendering::IntegerBitmapLayout getMemoryLayout()
IBitmapSharedPtr mpTarget
Render target.
void setPixel(const css::uno::Sequence< sal_Int8 > &color, const css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerPoint2D &pos)
css::uno::Reference< css::rendering::XCachedPrimitive > drawTextLayout(const css::rendering::XCanvas *pCanvas, const css::uno::Reference< css::rendering::XTextLayout > &laidOutText, const css::rendering::ViewState &viewState, const css::rendering::RenderState &renderState)
css::uno::Sequence< sal_Int8 > getData(css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerRectangle2D &rect)
css::uno::Sequence< sal_Int8 > getPixel(css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerPoint2D &pos)
css::uno::Reference< css::rendering::XBitmap > getScaledBitmap(const css::geometry::RealSize2D &newSize, bool beFast)
void disposing()
Release all references.
void copyRect(const css::rendering::XCanvas *pCanvas, const css::uno::Reference< css::rendering::XBitmapCanvas > &sourceCanvas, const css::geometry::RealRectangle2D &sourceRect, const css::rendering::ViewState &sourceViewState, const css::rendering::RenderState &sourceRenderState, const css::geometry::RealRectangle2D &destRect, const css::rendering::ViewState &destViewState, const css::rendering::RenderState &destRenderState)
css::uno::Reference< css::rendering::XBitmapPalette > getPalette()
void setData(const css::uno::Sequence< sal_Int8 > &data, const css::rendering::IntegerBitmapLayout &bitmapLayout, const css::geometry::IntegerRectangle2D &rect)
void setTarget(const IBitmapSharedPtr &rTarget)
Set the target for rendering operations.
Helper class for basic canvas functionality.
std::shared_ptr< IBitmap > IBitmapSharedPtr