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

#include <FeatureCollector.hxx>

Collaboration diagram for vcl::font::FeatureCollector:

Public Member Functions

 FeatureCollector (hb_face_t *pHbFace, std::vector< vcl::font::Feature > &rFontFeatures, LanguageType eLanguageType)
bool collect ()

Private Member Functions

void collectForLanguage (hb_tag_t aTableTag, sal_uInt32 nScript, hb_tag_t aScriptTag, sal_uInt32 nLanguage, hb_tag_t aLanguageTag)
void collectForScript (hb_tag_t aTableTag, sal_uInt32 nScript, hb_tag_t aScriptTag)
void collectForTable (hb_tag_t aTableTag)
bool collectGraphite ()

Private Attributes

hb_face_t * m_pHbFace
std::vector< vcl::font::Feature > & m_rFontFeatures
LanguageType m_eLanguageType

Detailed Description

Definition at line 20 of file FeatureCollector.hxx.

Constructor & Destructor Documentation

◆ FeatureCollector()

vcl::font::FeatureCollector::FeatureCollector ( hb_face_t *  pHbFace,
std::vector< vcl::font::Feature > &  rFontFeatures,
LanguageType  eLanguageType 

Definition at line 28 of file FeatureCollector.hxx.

Member Function Documentation

◆ collect()

bool vcl::font::FeatureCollector::collect ( )

Definition at line 140 of file FeatureCollector.cxx.

References collectForTable(), collectGraphite(), and m_pHbFace.

Referenced by OutputDevice::GetFontFeatures().

◆ collectForLanguage()

void vcl::font::FeatureCollector::collectForLanguage ( hb_tag_t  aTableTag,
sal_uInt32  nScript,
hb_tag_t  aScriptTag,
sal_uInt32  nLanguage,
hb_tag_t  aLanguageTag 

◆ collectForScript()

void vcl::font::FeatureCollector::collectForScript ( hb_tag_t  aTableTag,
sal_uInt32  nScript,
hb_tag_t  aScriptTag 

Definition at line 113 of file FeatureCollector.cxx.

References collectForLanguage(), and m_pHbFace.

Referenced by collectForTable().

◆ collectForTable()

void vcl::font::FeatureCollector::collectForTable ( hb_tag_t  aTableTag)

Definition at line 128 of file FeatureCollector.cxx.

References collectForScript(), and m_pHbFace.

Referenced by collect().

◆ collectGraphite()

bool vcl::font::FeatureCollector::collectGraphite ( )

Member Data Documentation

◆ m_eLanguageType

LanguageType vcl::font::FeatureCollector::m_eLanguageType

Definition at line 25 of file FeatureCollector.hxx.

Referenced by collectGraphite().

◆ m_pHbFace

hb_face_t* vcl::font::FeatureCollector::m_pHbFace

◆ m_rFontFeatures

std::vector<vcl::font::Feature>& vcl::font::FeatureCollector::m_rFontFeatures

Definition at line 24 of file FeatureCollector.hxx.

Referenced by collectForLanguage(), and collectGraphite().

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