Skia
2D Graphics Library
SkShaper::LanguageRunIterator Class Referenceabstract

#include <SkShaper.h>

Inheritance diagram for SkShaper::LanguageRunIterator:

Public Member Functions

virtual const char * currentLanguage () const =0
 Should be BCP-47, c locale names may also work. More...
 
virtual void consume ()=0
 Set state to that of current run and move iterator to end of that run. More...
 
virtual size_t endOfCurrentRun () const =0
 Offset to one past the last (utf8) element in the current run. More...
 
virtual bool atEnd () const =0
 Return true if consume should no longer be called. More...
 

Member Function Documentation

◆ atEnd()

virtual bool SkShaper::RunIterator::atEnd ( ) const
pure virtualinherited

Return true if consume should no longer be called.

◆ consume()

virtual void SkShaper::RunIterator::consume ( )
pure virtualinherited

Set state to that of current run and move iterator to end of that run.

◆ currentLanguage()

virtual const char* SkShaper::LanguageRunIterator::currentLanguage ( ) const
pure virtual

Should be BCP-47, c locale names may also work.

◆ endOfCurrentRun()

virtual size_t SkShaper::RunIterator::endOfCurrentRun ( ) const
pure virtualinherited

Offset to one past the last (utf8) element in the current run.


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