Skia
2D Graphics Library
|
RunBuffer supplies storage for glyphs and positions within a run. More...
#include <SkTextBlob.h>
Public Member Functions | |
SkPoint * | points () const |
SkRSXform * | xforms () const |
Public Attributes | |
SkGlyphID * | glyphs |
storage for glyph indexes in run More... | |
SkScalar * | pos |
storage for glyph positions in run More... | |
char * | utf8text |
storage for text UTF-8 code units in run More... | |
uint32_t * | clusters |
storage for glyph clusters (index of UTF-8 code unit) More... | |
RunBuffer supplies storage for glyphs and positions within a run.
A run is a sequence of glyphs sharing font metrics and positioning. Each run may position its glyphs in one of three ways: by specifying where the first glyph is drawn, and allowing font metrics to determine the advance to subsequent glyphs; by specifying a baseline, and the position on that baseline for each glyph in run; or by providing SkPoint array, one per glyph.
|
inline |
|
inline |
uint32_t* SkTextBlobBuilder::RunBuffer::clusters |
storage for glyph clusters (index of UTF-8 code unit)
SkGlyphID* SkTextBlobBuilder::RunBuffer::glyphs |
storage for glyph indexes in run
SkScalar* SkTextBlobBuilder::RunBuffer::pos |
storage for glyph positions in run
char* SkTextBlobBuilder::RunBuffer::utf8text |
storage for text UTF-8 code units in run