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 48 of file dx_canvasfont.hxx.

Member Typedef Documentation

Definition at line 52 of file dx_canvasfont.hxx.

Constructor & Destructor Documentation

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

make noncopyable

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

Member Function Documentation

virtual css::uno::Reference< css::rendering::XTextLayout > SAL_CALL dxcanvas::CanvasFont::createTextLayout ( const css::rendering::StringContext &  aText,
sal_Int8  nDirection,
sal_Int64  nRandomSeed 
)
overridevirtual
void SAL_CALL dxcanvas::CanvasFont::disposing ( )
overridevirtual

Dispose all internal references.

Definition at line 72 of file dx_canvasfont.cxx.

References cppu::BaseMutex::m_aMutex, mpFont, mpFontFamily, and mpGdiPlusUser.

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

Definition at line 90 of file dx_canvasfont.cxx.

double dxcanvas::CanvasFont::getCellAscent ( ) const

Definition at line 130 of file dx_canvasfont.cxx.

References cppu::BaseMutex::m_aMutex, and mpFontFamily.

double dxcanvas::CanvasFont::getEmHeight ( ) const

Definition at line 137 of file dx_canvasfont.cxx.

References cppu::BaseMutex::m_aMutex, and mpFontFamily.

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

Definition at line 80 of file dx_canvasfont.hxx.

References mnEmphasisMark.

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

Definition at line 96 of file dx_canvasfont.cxx.

FontSharedPtr dxcanvas::CanvasFont::getFont ( ) const

Definition at line 144 of file dx_canvasfont.cxx.

References cppu::BaseMutex::m_aMutex, and mpFont.

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

Definition at line 151 of file dx_canvasfont.cxx.

References cppu::BaseMutex::m_aMutex, and maFontMatrix.

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

Definition at line 109 of file dx_canvasfont.cxx.

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

Definition at line 102 of file dx_canvasfont.cxx.

References cppu::BaseMutex::m_aMutex, and maFontRequest.

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

Definition at line 115 of file dx_canvasfont.cxx.

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

Definition at line 125 of file dx_canvasfont.cxx.

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

Definition at line 120 of file dx_canvasfont.cxx.

References cppu::supportsService().

Member Data Documentation

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

Definition at line 88 of file dx_canvasfont.hxx.

Referenced by getFontMatrix().

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

Definition at line 86 of file dx_canvasfont.hxx.

Referenced by getFontRequest().

sal_uInt32 dxcanvas::CanvasFont::mnEmphasisMark
private

Definition at line 87 of file dx_canvasfont.hxx.

Referenced by getEmphasisMark().

FontSharedPtr dxcanvas::CanvasFont::mpFont
private

Definition at line 85 of file dx_canvasfont.hxx.

Referenced by disposing(), and getFont().

FontFamilySharedPtr dxcanvas::CanvasFont::mpFontFamily
private

Definition at line 84 of file dx_canvasfont.hxx.

Referenced by disposing(), getCellAscent(), and getEmHeight().

GDIPlusUserSharedPtr dxcanvas::CanvasFont::mpGdiPlusUser
private

Definition at line 83 of file dx_canvasfont.hxx.

Referenced by disposing().


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