LibreOffice Module canvas (master) 1
Public Member Functions | Protected Attributes | List of all members
dxcanvas::TextLayoutDrawHelper Class Reference

#include <dx_textlayout_drawhelper.hxx>

Public Member Functions

 TextLayoutDrawHelper (const css::uno::Reference< css::rendering::XGraphicDevice > &xGraphicDevice)
 
 ~TextLayoutDrawHelper ()
 
void drawText (const std::shared_ptr< Gdiplus::Graphics > &rGraphics, const css::rendering::ViewState &rViewState, const css::rendering::RenderState &rRenderState, const ::basegfx::B2ISize &rOutputOffset, const css::rendering::StringContext &rText, const css::uno::Sequence< double > &rLogicalAdvancements, const css::uno::Sequence< sal_Bool > &rKashidaPositions, const css::uno::Reference< css::rendering::XCanvasFont > &rCanvasFont, const css::geometry::Matrix2D &rFontMatrix, bool bAlphaSurface, bool bIsRTL)
 
css::geometry::RealRectangle2D queryTextBounds (const css::rendering::StringContext &rText, const css::uno::Sequence< double > &rLogicalAdvancements, const css::uno::Reference< css::rendering::XCanvasFont > &rCanvasFont, const css::geometry::Matrix2D &rFontMatrix)
 
void test ()
 

Protected Attributes

css::uno::Reference< css::rendering::XGraphicDevice > mxGraphicDevice
 

Detailed Description

Definition at line 41 of file dx_textlayout_drawhelper.hxx.

Constructor & Destructor Documentation

◆ TextLayoutDrawHelper()

dxcanvas::TextLayoutDrawHelper::TextLayoutDrawHelper ( const css::uno::Reference< css::rendering::XGraphicDevice > &  xGraphicDevice)
explicit

Definition at line 54 of file dx_textlayout_drawhelper.cxx.

◆ ~TextLayoutDrawHelper()

dxcanvas::TextLayoutDrawHelper::~TextLayoutDrawHelper ( )

Definition at line 60 of file dx_textlayout_drawhelper.cxx.

Member Function Documentation

◆ drawText()

void dxcanvas::TextLayoutDrawHelper::drawText ( const std::shared_ptr< Gdiplus::Graphics > &  rGraphics,
const css::rendering::ViewState rViewState,
const css::rendering::RenderState &  rRenderState,
const ::basegfx::B2ISize rOutputOffset,
const css::rendering::StringContext &  rText,
const css::uno::Sequence< double > &  rLogicalAdvancements,
const css::uno::Sequence< sal_Bool > &  rKashidaPositions,
const css::uno::Reference< css::rendering::XCanvasFont > &  rCanvasFont,
const css::geometry::Matrix2D &  rFontMatrix,
bool  bAlphaSurface,
bool  bIsRTL 
)

◆ queryTextBounds()

geometry::RealRectangle2D dxcanvas::TextLayoutDrawHelper::queryTextBounds ( const css::rendering::StringContext &  rText,
const css::uno::Sequence< double > &  rLogicalAdvancements,
const css::uno::Reference< css::rendering::XCanvasFont > &  rCanvasFont,
const css::geometry::Matrix2D &  rFontMatrix 
)

◆ test()

void dxcanvas::TextLayoutDrawHelper::test ( )

Member Data Documentation

◆ mxGraphicDevice

css::uno::Reference< css::rendering::XGraphicDevice > dxcanvas::TextLayoutDrawHelper::mxGraphicDevice
protected

Definition at line 74 of file dx_textlayout_drawhelper.hxx.

Referenced by drawText().


The documentation for this class was generated from the following files: