20#ifndef INCLUDED_CPPCANVAS_RENDERER_HXX
21#define INCLUDED_CPPCANVAS_RENDERER_HXX
24#include <rtl/ustring.hxx>
69 sal_Int32 nEndIndex )
const = 0;
96 sal_Int32 nEndIndex )
const = 0;
This interface defines basic properties of objects that can be painted on a Canvas.
virtual ::basegfx::B2DRange getSubsetArea(sal_Int32 nStartIndex, sal_Int32 nEndIndex) const =0
Query bounding box of metafile subset.
virtual bool drawSubset(sal_Int32 nStartIndex, sal_Int32 nEndIndex) const =0
Render subset of metafile to given canvas.
std::shared_ptr< ::cppcanvas::Renderer > RendererSharedPtr
Parameters for the Renderer.
::std::optional< IntSRGBA > maFillColor
Optionally forces the fill color attribute for all actions.
::std::optional< IntSRGBA > maTextColor
Optionally forces the text color attribute for all actions.
::std::optional< ::basegfx::B2DHomMatrix > maTextTransformation
Optionally transforms all text output actions with the given matrix (in addition to the overall canva...
::std::optional< IntSRGBA > maLineColor
Optionally forces the line color attribute for all actions.
::std::optional< OUString > maFontName
Optionally forces the given fontname for all text actions.
::std::optional< sal_Int8 > maFontWeight
Optionally forces the given font weight for all text actions.
::std::optional< bool > maFontUnderline
Optionally forces underlining for all text actions.
::std::optional< sal_Int8 > maFontLetterForm
Optionally forces the given font letter form (italics etc.) for all text actions.