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::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 43 of file dx_textlayout_drawhelper.hxx.

Constructor & Destructor Documentation

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

Definition at line 51 of file dx_textlayout_drawhelper.cxx.

dxcanvas::TextLayoutDrawHelper::~TextLayoutDrawHelper ( )

Definition at line 57 of file dx_textlayout_drawhelper.cxx.

Member Function Documentation

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::Reference< css::rendering::XCanvasFont > &  rCanvasFont,
const css::geometry::Matrix2D &  rFontMatrix,
bool  bAlphaSurface,
bool  bIsRTL 
)
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 
)
void dxcanvas::TextLayoutDrawHelper::test ( )

Member Data Documentation

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

Definition at line 75 of file dx_textlayout_drawhelper.hxx.

Referenced by drawText().


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