![]() |
Skia
2D Graphics Library
|
Helper for shaping text directly into a SkTextBlob. More...
#include <SkShaper.h>

Public Member Functions | |
| SkTextBlobBuilderRunHandler (const char *utf8Text, SkPoint offset) | |
| sk_sp< SkTextBlob > | makeBlob () |
| SkPoint | endPoint () |
| void | beginLine () override |
| Called when beginning a line. More... | |
| void | runInfo (const RunInfo &) override |
| Called once for each run in a line. More... | |
| void | commitRunInfo () override |
| Called after all runInfo calls for a line. More... | |
| Buffer | runBuffer (const RunInfo &) override |
| Called for each run in a line after commitRunInfo. More... | |
| void | commitRunBuffer (const RunInfo &) override |
| Called after each runBuffer is filled out. More... | |
| void | commitLine () override |
| Called when ending a line. More... | |
Helper for shaping text directly into a SkTextBlob.
|
inline |
|
overridevirtual |
Called when beginning a line.
Implements SkShaper::RunHandler.
|
overridevirtual |
Called when ending a line.
Implements SkShaper::RunHandler.
|
overridevirtual |
Called after each runBuffer is filled out.
Implements SkShaper::RunHandler.
|
overridevirtual |
Called after all runInfo calls for a line.
Implements SkShaper::RunHandler.
|
inline |
| sk_sp<SkTextBlob> SkTextBlobBuilderRunHandler::makeBlob | ( | ) |
Called for each run in a line after commitRunInfo.
The buffer will be filled out.
Implements SkShaper::RunHandler.
|
overridevirtual |
Called once for each run in a line.
Can compute baselines and offsets.
Implements SkShaper::RunHandler.