Skia
2D Graphics Library
|
#include <SkShaper.h>
Classes | |
struct | Buffer |
struct | Range |
struct | RunInfo |
Public Member Functions | |
virtual | ~RunHandler ()=default |
virtual void | beginLine ()=0 |
Called when beginning a line. More... | |
virtual void | runInfo (const RunInfo &)=0 |
Called once for each run in a line. More... | |
virtual void | commitRunInfo ()=0 |
Called after all runInfo calls for a line. More... | |
virtual Buffer | runBuffer (const RunInfo &)=0 |
Called for each run in a line after commitRunInfo. More... | |
virtual void | commitRunBuffer (const RunInfo &)=0 |
Called after each runBuffer is filled out. More... | |
virtual void | commitLine ()=0 |
Called when ending a line. More... | |
|
virtualdefault |
|
pure virtual |
Called when beginning a line.
Implemented in SkTextBlobBuilderRunHandler.
|
pure virtual |
Called when ending a line.
Implemented in SkTextBlobBuilderRunHandler.
|
pure virtual |
Called after each runBuffer is filled out.
Implemented in SkTextBlobBuilderRunHandler.
|
pure virtual |
Called after all runInfo calls for a line.
Implemented in SkTextBlobBuilderRunHandler.
Called for each run in a line after commitRunInfo.
The buffer will be filled out.
Implemented in SkTextBlobBuilderRunHandler.
|
pure virtual |
Called once for each run in a line.
Can compute baselines and offsets.
Implemented in SkTextBlobBuilderRunHandler.