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:
Collaboration diagram for dxcanvas::CanvasFont:

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

Definition at line 51 of file dx_canvasfont.hxx.

Constructor & Destructor Documentation

dxcanvas::CanvasFont::CanvasFont ( const CanvasFont )

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 
void SAL_CALL dxcanvas::CanvasFont::disposing ( )

Dispose all internal references.

Definition at line 75 of file dx_canvasfont.cxx.

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

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

Definition at line 93 of file dx_canvasfont.cxx.

double dxcanvas::CanvasFont::getCellAscent ( ) const

Definition at line 133 of file dx_canvasfont.cxx.

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

double dxcanvas::CanvasFont::getEmHeight ( ) const

Definition at line 140 of file dx_canvasfont.cxx.

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

sal_uInt32 dxcanvas::CanvasFont::getEmphasisMark ( ) const

Definition at line 79 of file dx_canvasfont.hxx.

References mnEmphasisMark.

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

Definition at line 99 of file dx_canvasfont.cxx.

FontSharedPtr dxcanvas::CanvasFont::getFont ( ) const

Definition at line 147 of file dx_canvasfont.cxx.

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

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

Definition at line 154 of file dx_canvasfont.cxx.

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

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

Definition at line 112 of file dx_canvasfont.cxx.

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

Definition at line 105 of file dx_canvasfont.cxx.

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

OUString SAL_CALL dxcanvas::CanvasFont::getImplementationName ( )

Definition at line 118 of file dx_canvasfont.cxx.

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

Definition at line 128 of file dx_canvasfont.cxx.

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

Definition at line 123 of file dx_canvasfont.cxx.

References cppu::supportsService().

Member Data Documentation

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

Definition at line 87 of file dx_canvasfont.hxx.

Referenced by getFontMatrix().

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

Definition at line 85 of file dx_canvasfont.hxx.

Referenced by getFontRequest().

sal_uInt32 dxcanvas::CanvasFont::mnEmphasisMark

Definition at line 86 of file dx_canvasfont.hxx.

Referenced by getEmphasisMark().

FontSharedPtr dxcanvas::CanvasFont::mpFont

Definition at line 84 of file dx_canvasfont.hxx.

Referenced by disposing(), and getFont().

FontFamilySharedPtr dxcanvas::CanvasFont::mpFontFamily

Definition at line 83 of file dx_canvasfont.hxx.

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

GDIPlusUserSharedPtr dxcanvas::CanvasFont::mpGdiPlusUser

Definition at line 82 of file dx_canvasfont.hxx.

Referenced by disposing().

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