Flutter Engine
The Flutter Engine
|
#include <Iterators.h>
Public Member Functions | |
LangIterator (SkSpan< const char > utf8, SkSpan< Block > styles, const TextStyle &defaultStyle) | |
void | consume () override |
size_t | endOfCurrentRun () const override |
bool | atEnd () const override |
const char * | currentLanguage () const override |
virtual const char * | currentLanguage () const =0 |
Public Member Functions inherited from SkShaper::RunIterator | |
virtual | ~RunIterator ()=default |
virtual void | consume ()=0 |
virtual size_t | endOfCurrentRun () const =0 |
virtual bool | atEnd () const =0 |
Definition at line 14 of file Iterators.h.
|
inline |
Definition at line 16 of file Iterators.h.
|
inlineoverridevirtual |
Return true if consume should no longer be called.
Implements SkShaper::RunIterator.
Definition at line 42 of file Iterators.h.
|
inlineoverridevirtual |
Set state to that of current run and move iterator to end of that run.
Implements SkShaper::RunIterator.
Definition at line 23 of file Iterators.h.
|
inlineoverridevirtual |
Should be BCP-47, c locale names may also work.
Implements SkShaper::LanguageRunIterator.
Definition at line 43 of file Iterators.h.
|
inlineoverridevirtual |
Offset to one past the last (utf8) element in the current run.
Implements SkShaper::RunIterator.
Definition at line 41 of file Iterators.h.