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>


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 ( )

Definition at line 64 of file pdffontcache.hxx.

Member Function Documentation

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

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

Definition at line 59 of file pdffontcache.hxx.

Referenced by getFont().

FontToIndexMap vcl::PDFFontCache::m_aFontToIndex

Definition at line 60 of file pdffontcache.hxx.

Referenced by getFont().

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