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:
[legend]

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 *const m_pHbFace
 
std::vector< vcl::font::Feature > & m_rFontFeatures
 
LanguageType const m_eLanguageType
 

Detailed Description

Definition at line 22 of file FeatureCollector.hxx.

Constructor & Destructor Documentation

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

Definition at line 30 of file FeatureCollector.hxx.

Member Function Documentation

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

Definition at line 141 of file FeatureCollector.cxx.

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

Referenced by OutputDevice::GetFontFeatures().

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

Definition at line 114 of file FeatureCollector.cxx.

References collectForLanguage(), and m_pHbFace.

Referenced by collectForTable().

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

Definition at line 129 of file FeatureCollector.cxx.

References collectForScript(), and m_pHbFace.

Referenced by collect().

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

Member Data Documentation

LanguageType const vcl::font::FeatureCollector::m_eLanguageType
private

Definition at line 27 of file FeatureCollector.hxx.

Referenced by collectGraphite().

hb_face_t* const vcl::font::FeatureCollector::m_pHbFace
private
std::vector<vcl::font::Feature>& vcl::font::FeatureCollector::m_rFontFeatures
private

Definition at line 26 of file FeatureCollector.hxx.

Referenced by collectForLanguage(), and collectGraphite().


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