Flutter Engine
The Flutter Engine
|
#include <SkShaper.h>
Classes | |
struct | Buffer |
struct | Range |
struct | RunInfo |
Public Member Functions | |
virtual | ~RunHandler ()=default |
virtual void | beginLine ()=0 |
virtual void | runInfo (const RunInfo &)=0 |
virtual void | commitRunInfo ()=0 |
virtual Buffer | runBuffer (const RunInfo &)=0 |
virtual void | commitRunBuffer (const RunInfo &)=0 |
virtual void | commitLine ()=0 |
Definition at line 194 of file SkShaper.h.
|
virtualdefault |
|
pure virtual |
Called when beginning a line.
Implemented in SkShaperJSONWriter, and SkTextBlobBuilderRunHandler.
Definition at line 135 of file shape.cpp.
|
pure virtual |
Called when ending a line.
Implemented in SkShaperJSONWriter, and SkTextBlobBuilderRunHandler.
Definition at line 201 of file shape.cpp.
|
pure virtual |
Called after each runBuffer is filled out.
Implemented in SkTextBlobBuilderRunHandler, and SkShaperJSONWriter.
Definition at line 176 of file shape.cpp.
|
pure virtual |
Called after all runInfo calls for a line.
Implemented in SkShaperJSONWriter, and SkTextBlobBuilderRunHandler.
|
pure virtual |
Called for each run in a line after commitRunInfo. The buffer will be filled out.
Implemented in SkTextBlobBuilderRunHandler, and SkShaperJSONWriter.
|
pure virtual |
Called once for each run in a line. Can compute baselines and offsets.
Implemented in SkTextBlobBuilderRunHandler, and SkShaperJSONWriter.
Definition at line 142 of file shape.cpp.