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

#include <dx_canvasfont.hxx>

Inheritance diagram for dxcanvas::CanvasFont:
[legend]
Collaboration diagram for dxcanvas::CanvasFont:
[legend]

Public Types

typedef rtl::Reference< CanvasFontImplRef
 

Public Member Functions

 CanvasFont (const CanvasFont &)=delete
 make noncopyable More...
 
const CanvasFontoperator= (const CanvasFont &)=delete
 
 CanvasFont (const css::rendering::FontRequest &fontRequest, const css::uno::Sequence< css::beans::PropertyValue > &extraFontProperties, const css::geometry::Matrix2D &fontMatrix)
 
virtual void SAL_CALL disposing () override
 Dispose all internal references. More...
 
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
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
double getCellAscent () const
 
double getEmHeight () const
 
FontSharedPtr getFont () const
 
const css::geometry::Matrix2D & getFontMatrix () const
 
sal_uInt32 getEmphasisMark () const
 

Private Attributes

GDIPlusUserSharedPtr mpGdiPlusUser
 
FontFamilySharedPtr mpFontFamily
 
FontSharedPtr mpFont
 
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 47 of file dx_canvasfont.hxx.

Member Typedef Documentation

◆ ImplRef

Definition at line 51 of file dx_canvasfont.hxx.

Constructor & Destructor Documentation

◆ CanvasFont() [1/2]

dxcanvas::CanvasFont::CanvasFont ( const CanvasFont )
delete

make noncopyable

◆ CanvasFont() [2/2]

dxcanvas::CanvasFont::CanvasFont ( const 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 dxcanvas::CanvasFont::createTextLayout ( const css::rendering::StringContext &  aText,
sal_Int8  nDirection,
sal_Int64  nRandomSeed 
)
overridevirtual

◆ disposing()

void SAL_CALL dxcanvas::CanvasFont::disposing ( )
overridevirtual

Dispose all internal references.

Definition at line 75 of file dx_canvasfont.cxx.

References m_aMutex, and mpFont.

◆ getAvailableSizes()

uno::Sequence< double > SAL_CALL dxcanvas::CanvasFont::getAvailableSizes ( )
overridevirtual

Definition at line 93 of file dx_canvasfont.cxx.

◆ getCellAscent()

double dxcanvas::CanvasFont::getCellAscent ( ) const

Definition at line 133 of file dx_canvasfont.cxx.

References m_aMutex.

◆ getEmHeight()

double dxcanvas::CanvasFont::getEmHeight ( ) const

Definition at line 140 of file dx_canvasfont.cxx.

References m_aMutex.

◆ getEmphasisMark()

sal_uInt32 dxcanvas::CanvasFont::getEmphasisMark ( ) const
inline

Definition at line 79 of file dx_canvasfont.hxx.

References mnEmphasisMark.

◆ getExtraFontProperties()

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

Definition at line 99 of file dx_canvasfont.cxx.

◆ getFont()

FontSharedPtr dxcanvas::CanvasFont::getFont ( ) const

Definition at line 147 of file dx_canvasfont.cxx.

References m_aMutex, and mpFont.

◆ getFontMatrix()

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

Definition at line 154 of file dx_canvasfont.cxx.

References m_aMutex.

◆ getFontMetrics()

rendering::FontMetrics SAL_CALL dxcanvas::CanvasFont::getFontMetrics ( )
overridevirtual

Definition at line 112 of file dx_canvasfont.cxx.

◆ getFontRequest()

rendering::FontRequest SAL_CALL dxcanvas::CanvasFont::getFontRequest ( )
overridevirtual

Definition at line 105 of file dx_canvasfont.cxx.

References m_aMutex.

◆ getImplementationName()

OUString SAL_CALL dxcanvas::CanvasFont::getImplementationName ( )
overridevirtual

Definition at line 118 of file dx_canvasfont.cxx.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL dxcanvas::CanvasFont::getSupportedServiceNames ( )
overridevirtual

Definition at line 128 of file dx_canvasfont.cxx.

◆ operator=()

const CanvasFont & dxcanvas::CanvasFont::operator= ( const CanvasFont )
delete

◆ supportsService()

sal_Bool SAL_CALL dxcanvas::CanvasFont::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 123 of file dx_canvasfont.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ maFontMatrix

css::geometry::Matrix2D dxcanvas::CanvasFont::maFontMatrix
private

Definition at line 87 of file dx_canvasfont.hxx.

◆ maFontRequest

css::rendering::FontRequest dxcanvas::CanvasFont::maFontRequest
private

Definition at line 85 of file dx_canvasfont.hxx.

◆ mnEmphasisMark

sal_uInt32 dxcanvas::CanvasFont::mnEmphasisMark
private

Definition at line 86 of file dx_canvasfont.hxx.

Referenced by getEmphasisMark().

◆ mpFont

FontSharedPtr dxcanvas::CanvasFont::mpFont
private

Definition at line 84 of file dx_canvasfont.hxx.

◆ mpFontFamily

FontFamilySharedPtr dxcanvas::CanvasFont::mpFontFamily
private

Definition at line 83 of file dx_canvasfont.hxx.

◆ mpGdiPlusUser

GDIPlusUserSharedPtr dxcanvas::CanvasFont::mpGdiPlusUser
private

Definition at line 82 of file dx_canvasfont.hxx.


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