LibreOffice Module vcl (master)  1
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
vcl::PDFFontCache Class Reference

#include <pdffontcache.hxx>

Classes

struct  FontData
 
struct  FontIdentifier
 

Public Member Functions

 PDFFontCache ()
 
sal_Int32 getGlyphWidth (const PhysicalFontFace *, sal_GlyphId, bool bVertical, SalGraphics *)
 

Private Types

typedef std::map< FontIdentifier, sal_uInt32 > FontToIndexMap
 

Private Member Functions

FontDatagetFont (const PhysicalFontFace *, bool bVertical)
 

Private Attributes

std::vector< FontDatam_aFonts
 
FontToIndexMap m_aFontToIndex
 

Detailed Description

Definition at line 31 of file pdffontcache.hxx.

Member Typedef Documentation

Definition at line 57 of file pdffontcache.hxx.

Constructor & Destructor Documentation

vcl::PDFFontCache::PDFFontCache ( )
inline

Definition at line 64 of file pdffontcache.hxx.

Member Function Documentation

PDFFontCache::FontData & PDFFontCache::getFont ( const PhysicalFontFace pFont,
bool  bVertical 
)
private

Definition at line 38 of file pdffontcache.cxx.

References aId, m_aFonts, and m_aFontToIndex.

Referenced by getGlyphWidth().

sal_Int32 PDFFontCache::getGlyphWidth ( const PhysicalFontFace pFont,
sal_GlyphId  nGlyph,
bool  bVertical,
SalGraphics pGraphics 
)

Member Data Documentation

std::vector< FontData > vcl::PDFFontCache::m_aFonts
private

Definition at line 59 of file pdffontcache.hxx.

Referenced by getFont().

FontToIndexMap vcl::PDFFontCache::m_aFontToIndex
private

Definition at line 60 of file pdffontcache.hxx.

Referenced by getFont().


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