LibreOffice Module canvas (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
oglcanvas::CanvasFont Class Reference

#include <ogl_canvasfont.hxx>

Inheritance diagram for oglcanvas::CanvasFont:
Collaboration diagram for oglcanvas::CanvasFont:

Public Types

typedef rtl::Reference< CanvasFontImplRef

Public Member Functions

 CanvasFont (const CanvasFont &)=delete
 make noncopyable More...
const CanvasFontoperator= (const CanvasFont &)=delete
 CanvasFont (css::rendering::FontRequest fontRequest, const css::uno::Sequence< css::beans::PropertyValue > &extraFontProperties, const css::geometry::Matrix2D &fontMatrix)
virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL createTextLayout (const css::rendering::StringContext &aText, sal_Int8 nDirection, sal_Int64 nRandomSeed) override
virtual css::rendering::FontRequest SAL_CALL getFontRequest () override
virtual css::rendering::FontMetrics SAL_CALL getFontMetrics () override
virtual css::uno::Sequence< double > SAL_CALL getAvailableSizes () override
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getExtraFontProperties () override
const css::geometry::Matrix2D & getFontMatrix () const
sal_uInt32 getEmphasisMark () const

Private Attributes

css::rendering::FontRequest maFontRequest
sal_uInt32 mnEmphasisMark
css::geometry::Matrix2D maFontMatrix

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex

Detailed Description

Definition at line 29 of file ogl_canvasfont.hxx.

Member Typedef Documentation

◆ ImplRef

Definition at line 33 of file ogl_canvasfont.hxx.

Constructor & Destructor Documentation

◆ CanvasFont() [1/2]

oglcanvas::CanvasFont::CanvasFont ( const CanvasFont )

make noncopyable

◆ CanvasFont() [2/2]

oglcanvas::CanvasFont::CanvasFont ( css::rendering::FontRequest  fontRequest,
const css::uno::Sequence< css::beans::PropertyValue > &  extraFontProperties,
const css::geometry::Matrix2D &  fontMatrix 

Member Function Documentation

◆ createTextLayout()

virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL oglcanvas::CanvasFont::createTextLayout ( const css::rendering::StringContext &  aText,
sal_Int8  nDirection,
sal_Int64  nRandomSeed 

◆ getAvailableSizes()

uno::Sequence< double > SAL_CALL oglcanvas::CanvasFont::getAvailableSizes ( )

Definition at line 43 of file ogl_canvasfont.cxx.

◆ getEmphasisMark()

sal_uInt32 oglcanvas::CanvasFont::getEmphasisMark ( ) const

Definition at line 52 of file ogl_canvasfont.hxx.

References mnEmphasisMark.

◆ getExtraFontProperties()

uno::Sequence< beans::PropertyValue > SAL_CALL oglcanvas::CanvasFont::getExtraFontProperties ( )

Definition at line 49 of file ogl_canvasfont.cxx.

◆ getFontMatrix()

const css::geometry::Matrix2D & oglcanvas::CanvasFont::getFontMatrix ( ) const

Definition at line 50 of file ogl_canvasfont.hxx.

References maFontMatrix.

◆ getFontMetrics()

rendering::FontMetrics SAL_CALL oglcanvas::CanvasFont::getFontMetrics ( )

Definition at line 62 of file ogl_canvasfont.cxx.

◆ getFontRequest()

rendering::FontRequest SAL_CALL oglcanvas::CanvasFont::getFontRequest ( )

Definition at line 55 of file ogl_canvasfont.cxx.

References m_aMutex.

◆ operator=()

const CanvasFont & oglcanvas::CanvasFont::operator= ( const CanvasFont )

Member Data Documentation

◆ maFontMatrix

css::geometry::Matrix2D oglcanvas::CanvasFont::maFontMatrix

Definition at line 57 of file ogl_canvasfont.hxx.

Referenced by getFontMatrix().

◆ maFontRequest

css::rendering::FontRequest oglcanvas::CanvasFont::maFontRequest

Definition at line 55 of file ogl_canvasfont.hxx.

◆ mnEmphasisMark

sal_uInt32 oglcanvas::CanvasFont::mnEmphasisMark

Definition at line 56 of file ogl_canvasfont.hxx.

Referenced by getEmphasisMark().

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