LibreOffice Module cppcanvas (master) 1
Public Attributes | List of all members
cppcanvas::Renderer::Parameters Struct Reference

Parameters for the Renderer. More...

#include <renderer.hxx>

Public Attributes

::std::optional< IntSRGBAmaFillColor
 Optionally forces the fill color attribute for all actions. More...
 
::std::optional< IntSRGBAmaLineColor
 Optionally forces the line color attribute for all actions. More...
 
::std::optional< IntSRGBAmaTextColor
 Optionally forces the text color attribute for all actions. More...
 
::std::optional< OUString > maFontName
 Optionally forces the given fontname for all text actions. More...
 
::std::optional< ::basegfx::B2DHomMatrixmaTextTransformation
 Optionally transforms all text output actions with the given matrix (in addition to the overall canvas transformation). More...
 
::std::optional< sal_Int8maFontWeight
 Optionally forces the given font weight for all text actions. More...
 
::std::optional< sal_Int8maFontLetterForm
 Optionally forces the given font letter form (italics etc.) for all text actions. More...
 
::std::optional< bool > maFontUnderline
 Optionally forces underlining for all text actions. More...
 

Detailed Description

Parameters for the Renderer.

Definition at line 100 of file renderer.hxx.

Member Data Documentation

◆ maFillColor

::std::optional< IntSRGBA > cppcanvas::Renderer::Parameters::maFillColor

Optionally forces the fill color attribute for all actions.

Definition at line 103 of file renderer.hxx.

Referenced by cppcanvas::internal::ImplRenderer::createActions(), and cppcanvas::internal::ImplRenderer::ImplRenderer().

◆ maFontLetterForm

::std::optional< sal_Int8 > cppcanvas::Renderer::Parameters::maFontLetterForm

Optionally forces the given font letter form (italics etc.) for all text actions.

Definition at line 128 of file renderer.hxx.

Referenced by cppcanvas::internal::ImplRenderer::createFont(), and cppcanvas::internal::ImplRenderer::ImplRenderer().

◆ maFontName

::std::optional< OUString > cppcanvas::Renderer::Parameters::maFontName

Optionally forces the given fontname for all text actions.

Definition at line 112 of file renderer.hxx.

Referenced by cppcanvas::internal::ImplRenderer::createFont(), and cppcanvas::internal::ImplRenderer::ImplRenderer().

◆ maFontUnderline

::std::optional< bool > cppcanvas::Renderer::Parameters::maFontUnderline

Optionally forces underlining for all text actions.

Definition at line 131 of file renderer.hxx.

Referenced by cppcanvas::internal::ImplRenderer::createActions(), and cppcanvas::internal::ImplRenderer::ImplRenderer().

◆ maFontWeight

::std::optional< sal_Int8 > cppcanvas::Renderer::Parameters::maFontWeight

Optionally forces the given font weight for all text actions.

Definition at line 125 of file renderer.hxx.

Referenced by cppcanvas::internal::ImplRenderer::createFont(), and cppcanvas::internal::ImplRenderer::ImplRenderer().

◆ maLineColor

::std::optional< IntSRGBA > cppcanvas::Renderer::Parameters::maLineColor

Optionally forces the line color attribute for all actions.

Definition at line 106 of file renderer.hxx.

Referenced by cppcanvas::internal::ImplRenderer::createActions(), and cppcanvas::internal::ImplRenderer::ImplRenderer().

◆ maTextColor

::std::optional< IntSRGBA > cppcanvas::Renderer::Parameters::maTextColor

Optionally forces the text color attribute for all actions.

Definition at line 109 of file renderer.hxx.

Referenced by cppcanvas::internal::ImplRenderer::createActions(), and cppcanvas::internal::ImplRenderer::ImplRenderer().

◆ maTextTransformation

::std::optional< ::basegfx::B2DHomMatrix > cppcanvas::Renderer::Parameters::maTextTransformation

Optionally transforms all text output actions with the given matrix (in addition to the overall canvas transformation).

Note that the matrix given here is applied to the unit rect coordinate system, i.e. the metafile is assumed to be contained in the unit rect.

Definition at line 122 of file renderer.hxx.

Referenced by cppcanvas::internal::TextActionFactory::createTextAction().


The documentation for this struct was generated from the following file: