Flutter Engine
minikin::FontLanguages Class Reference

#include <FontLanguage.h>

Public Member Functions

 FontLanguages (std::vector< FontLanguage > &&languages)
 
 FontLanguages ()
 
 FontLanguages (FontLanguages &&)=default
 
size_t size () const
 
bool empty () const
 
const FontLanguageoperator[] (size_t n) const
 

Friends

struct FontLanguage
 

Detailed Description

Definition at line 134 of file FontLanguage.h.

Constructor & Destructor Documentation

◆ FontLanguages() [1/3]

minikin::FontLanguages::FontLanguages ( std::vector< FontLanguage > &&  languages)
explicit

◆ FontLanguages() [2/3]

minikin::FontLanguages::FontLanguages ( )
inline

Definition at line 137 of file FontLanguage.h.

References minikin::FontLanguage::FontLanguages.

137 : mUnionOfSubScriptBits(0), mIsAllTheSameLanguage(false) {}

◆ FontLanguages() [3/3]

minikin::FontLanguages::FontLanguages ( FontLanguages &&  )
default

Member Function Documentation

◆ empty()

bool minikin::FontLanguages::empty ( ) const
inline

Definition at line 141 of file FontLanguage.h.

141 { return mLanguages.empty(); }

◆ operator[]()

const FontLanguage& minikin::FontLanguages::operator[] ( size_t  n) const
inline

Definition at line 142 of file FontLanguage.h.

142 { return mLanguages[n]; }

◆ size()

size_t minikin::FontLanguages::size ( ) const
inline

Definition at line 140 of file FontLanguage.h.

Referenced by txt::ParagraphTxt::GetLongestLine().

140 { return mLanguages.size(); }

Friends And Related Function Documentation

◆ FontLanguage

friend struct FontLanguage
friend

Definition at line 145 of file FontLanguage.h.


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