SkTextBlob combines multiple text runs into an immutable, ref-counted structure.
More...
#include <SkTextBlob.h>
|
enum | GlyphPositioning : uint8_t { kDefault_Positioning = 0,
kHorizontal_Positioning = 1,
kFull_Positioning = 2
} |
|
|
const SkRect & | bounds () const |
| Returns a conservative blob bounding box.
|
|
uint32_t | uniqueID () const |
| Return a non-zero, unique value representing the text blob.
|
|
void | flatten (SkWriteBuffer &) const |
| Serialize to a buffer.
|
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
void | deref () const |
|
|
| SkTextBlob (const SkRect &bounds) |
|
void | operator delete (void *p) |
|
void * | operator new (size_t) |
|
void * | operator new (size_t, void *p) |
|
void | notifyAddedToCache () const |
|
|
static unsigned | ScalarsPerGlyph (GlyphPositioning pos) |
|
|
const SkRect | fBounds |
|
const uint32_t | fUniqueID |
|
SkAtomic< bool > | fAddedToCache |
|
size_t | fStorageSize |
|
|
class | SkNVRefCnt< SkTextBlob > |
|
class | GrTextBlobCache |
|
class | SkTextBlobBuilder |
|
class | SkTextBlobRunIterator |
|
SkTextBlob combines multiple text runs into an immutable, ref-counted structure.
Recreate an SkTextBlob that was serialized into a buffer.
- Parameters
-
SkReadBuffer | Serialized blob data. |
- Returns
- A new SkTextBlob representing the serialized data, or NULL if the buffer is invalid.
The documentation for this class was generated from the following file: