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 vcl::font::PhysicalFontFace *, sal_GlyphId, bool bVertical, SalGraphics *)

Private Types

typedef std::map< FontIdentifier, sal_uInt32 > FontToIndexMap

Private Member Functions

FontDatagetFont (const vcl::font::PhysicalFontFace *, bool bVertical)

Private Attributes

std::vector< FontDatam_aFonts
FontToIndexMap m_aFontToIndex

Detailed Description

Definition at line 32 of file pdffontcache.hxx.

Member Typedef Documentation

◆ FontToIndexMap

Definition at line 58 of file pdffontcache.hxx.

Constructor & Destructor Documentation

◆ PDFFontCache()

vcl::PDFFontCache::PDFFontCache ( )

Definition at line 65 of file pdffontcache.hxx.

Member Function Documentation

◆ getFont()

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

Definition at line 39 of file pdffontcache.cxx.

References aId, m_aFonts, and m_aFontToIndex.

Referenced by getGlyphWidth().

◆ getGlyphWidth()

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

Member Data Documentation

◆ m_aFonts

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

Definition at line 60 of file pdffontcache.hxx.

Referenced by getFont().

◆ m_aFontToIndex

FontToIndexMap vcl::PDFFontCache::m_aFontToIndex

Definition at line 61 of file pdffontcache.hxx.

Referenced by getFont().

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