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 (const PhysicalFontFace *pFace, std::vector< vcl::font::Feature > &rFontFeatures, const LanguageTag &rLanguageTag)
 
bool collect ()
 

Private Member Functions

void collectForTable (hb_tag_t aTableTag)
 
bool collectGraphite ()
 

Private Attributes

const PhysicalFontFacem_pFace
 
hb_face_t * m_pHbFace
 
std::vector< vcl::font::Feature > & m_rFontFeatures
 
const LanguageTagm_rLanguageTag
 

Detailed Description

Definition at line 22 of file FeatureCollector.hxx.

Constructor & Destructor Documentation

◆ FeatureCollector()

vcl::font::FeatureCollector::FeatureCollector ( const PhysicalFontFace pFace,
std::vector< vcl::font::Feature > &  rFontFeatures,
const LanguageTag rLanguageTag 
)
inline

Definition at line 31 of file FeatureCollector.hxx.

Member Function Documentation

◆ collect()

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

Definition at line 188 of file FeatureCollector.cxx.

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

Referenced by OutputDevice::GetFontFeatures().

◆ collectForTable()

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

◆ collectGraphite()

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

Member Data Documentation

◆ m_pFace

const PhysicalFontFace* vcl::font::FeatureCollector::m_pFace
private

Definition at line 25 of file FeatureCollector.hxx.

Referenced by collectForTable().

◆ m_pHbFace

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

Definition at line 26 of file FeatureCollector.hxx.

Referenced by collect(), collectForTable(), and collectGraphite().

◆ m_rFontFeatures

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

Definition at line 27 of file FeatureCollector.hxx.

Referenced by collectForTable(), and collectGraphite().

◆ m_rLanguageTag

const LanguageTag& vcl::font::FeatureCollector::m_rLanguageTag
private

Definition at line 28 of file FeatureCollector.hxx.

Referenced by collectForTable(), and collectGraphite().


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