LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
vcl::AbstractTrueTypeFont Class Referenceabstract

#include <sft.hxx>

Inheritance diagram for vcl::AbstractTrueTypeFont:
[legend]
Collaboration diagram for vcl::AbstractTrueTypeFont:
[legend]

Public Member Functions

 AbstractTrueTypeFont (const char *fileName=nullptr, const FontCharMapRef xCharMap=nullptr)
 
virtual ~AbstractTrueTypeFont ()
 
const char * fileName () const
 
sal_uInt32 glyphCount () const
 
sal_uInt32 glyphOffset (sal_uInt32 glyphID) const
 
sal_uInt32 horzMetricCount () const
 
sal_uInt32 vertMetricCount () const
 
sal_uInt32 unitsPerEm () const
 
FontCharMapRef GetCharMap () const
 
virtual bool hasTable (sal_uInt32 ord) const =0
 
virtual const sal_uInt8table (sal_uInt32 ord, sal_uInt32 &size) const =0
 

Protected Member Functions

SFErrCodes indexGlyphData ()
 

Private Attributes

char * m_pFileName
 
sal_uInt32 m_nGlyphs
 
sal_uInt32 * m_pGlyphOffsets
 
sal_uInt32 m_nHorzMetrics
 
sal_uInt32 m_nVertMetrics
 
sal_uInt32 m_nUnitsPerEm
 
FontCharMapRef m_xCharMap
 

Detailed Description

Definition at line 721 of file sft.hxx.

Constructor & Destructor Documentation

vcl::AbstractTrueTypeFont::AbstractTrueTypeFont ( const char *  fileName = nullptr,
const FontCharMapRef  xCharMap = nullptr 
)

Definition at line 1116 of file sft.cxx.

References m_pFileName.

vcl::AbstractTrueTypeFont::~AbstractTrueTypeFont ( )
virtual

Definition at line 1129 of file sft.cxx.

References m_pFileName, and m_pGlyphOffsets.

Member Function Documentation

const char* vcl::AbstractTrueTypeFont::fileName ( ) const
inline
FontCharMapRef vcl::AbstractTrueTypeFont::GetCharMap ( ) const
inline

Definition at line 744 of file sft.hxx.

Referenced by vcl::GetTTGlobalFontInfo().

sal_uInt32 vcl::AbstractTrueTypeFont::glyphCount ( ) const
inline
sal_uInt32 vcl::AbstractTrueTypeFont::glyphOffset ( sal_uInt32  glyphID) const
inline
virtual bool vcl::AbstractTrueTypeFont::hasTable ( sal_uInt32  ord) const
pure virtual

Implemented in vcl::TrueTypeFont.

Referenced by indexGlyphData().

sal_uInt32 vcl::AbstractTrueTypeFont::horzMetricCount ( ) const
inline

Definition at line 741 of file sft.hxx.

Referenced by vcl::GetMetrics(), vcl::GetTTRawGlyphData(), and vcl::GetTTSimpleGlyphMetrics().

SFErrCodes vcl::AbstractTrueTypeFont::indexGlyphData ( )
protected
virtual const sal_uInt8* vcl::AbstractTrueTypeFont::table ( sal_uInt32  ord,
sal_uInt32 &  size 
) const
pure virtual
sal_uInt32 vcl::AbstractTrueTypeFont::unitsPerEm ( ) const
inline
sal_uInt32 vcl::AbstractTrueTypeFont::vertMetricCount ( ) const
inline

Definition at line 742 of file sft.hxx.

Referenced by vcl::GetMetrics(), and vcl::GetTTSimpleGlyphMetrics().

Member Data Documentation

sal_uInt32 vcl::AbstractTrueTypeFont::m_nGlyphs
private

Definition at line 724 of file sft.hxx.

Referenced by indexGlyphData().

sal_uInt32 vcl::AbstractTrueTypeFont::m_nHorzMetrics
private

Definition at line 726 of file sft.hxx.

Referenced by indexGlyphData().

sal_uInt32 vcl::AbstractTrueTypeFont::m_nUnitsPerEm
private

Definition at line 728 of file sft.hxx.

Referenced by indexGlyphData().

sal_uInt32 vcl::AbstractTrueTypeFont::m_nVertMetrics
private

Definition at line 727 of file sft.hxx.

Referenced by indexGlyphData().

char* vcl::AbstractTrueTypeFont::m_pFileName
private

Definition at line 723 of file sft.hxx.

Referenced by AbstractTrueTypeFont(), and ~AbstractTrueTypeFont().

sal_uInt32* vcl::AbstractTrueTypeFont::m_pGlyphOffsets
private

Definition at line 725 of file sft.hxx.

Referenced by indexGlyphData(), and ~AbstractTrueTypeFont().

FontCharMapRef vcl::AbstractTrueTypeFont::m_xCharMap
private

Definition at line 729 of file sft.hxx.

Referenced by indexGlyphData().


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