Flutter Engine
The Flutter Engine
|
#include <SkShaper.h>
Public Member Functions | |
SkTextBlobBuilderRunHandler (const char *utf8Text, SkPoint offset) | |
sk_sp< SkTextBlob > | makeBlob () |
SkPoint | endPoint () |
void | beginLine () override |
void | runInfo (const RunInfo &) override |
void | commitRunInfo () override |
Buffer | runBuffer (const RunInfo &) override |
void | commitRunBuffer (const RunInfo &) override |
void | commitLine () override |
Public Member Functions inherited from SkShaper::RunHandler | |
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 |
Helper for shaping text directly into a SkTextBlob.
Definition at line 278 of file SkShaper.h.
|
inline |
Definition at line 280 of file SkShaper.h.
|
overridevirtual |
Called when beginning a line.
Implements SkShaper::RunHandler.
Definition at line 208 of file SkShaper.cpp.
|
overridevirtual |
Called when ending a line.
Implements SkShaper::RunHandler.
Definition at line 253 of file SkShaper.cpp.
|
overridevirtual |
Called after each runBuffer is filled out.
Implements SkShaper::RunHandler.
Definition at line 245 of file SkShaper.cpp.
|
overridevirtual |
Called after all runInfo calls for a line.
Implements SkShaper::RunHandler.
Definition at line 222 of file SkShaper.cpp.
|
inline |
Definition at line 284 of file SkShaper.h.
sk_sp< SkTextBlob > SkTextBlobBuilderRunHandler::makeBlob | ( | ) |
Definition at line 257 of file SkShaper.cpp.
|
overridevirtual |
Called for each run in a line after commitRunInfo. The buffer will be filled out.
Implements SkShaper::RunHandler.
Definition at line 226 of file SkShaper.cpp.
|
overridevirtual |
Called once for each run in a line. Can compute baselines and offsets.
Implements SkShaper::RunHandler.
Definition at line 214 of file SkShaper.cpp.