Flutter Engine
The Flutter Engine
|
#include <TextBlob.h>
Classes | |
struct | Key |
Public Member Functions | |
SK_DECLARE_INTERNAL_LLIST_INTERFACE (TextBlob) | |
TextBlob (SubRunAllocator &&alloc, SubRunContainerOwner subRuns, int totalMemorySize, SkColor initialLuminance) | |
~TextBlob () override | |
void | operator delete (void *p) |
void * | operator new (size_t) |
void * | operator new (size_t, void *p) |
const Key & | key () |
void | addKey (const Key &key) |
bool | canReuse (const SkPaint &paint, const SkMatrix &positionMatrix) const |
const Key & | key () const |
size_t | size () const |
void | draw (SkCanvas *, SkPoint drawOrigin, const SkPaint &paint, const AtlasDrawDelegate &) |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Static Public Member Functions | |
static sk_sp< TextBlob > | Make (const sktext::GlyphRunList &glyphRunList, const SkPaint &paint, const SkMatrix &positionMatrix, SkStrikeDeviceInfo strikeDeviceInfo, StrikeForGPUCacheInterface *strikeCache) |
Friends | |
class | TextBlobTools |
Definition at line 54 of file TextBlob.h.
sktext::gpu::TextBlob::TextBlob | ( | SubRunAllocator && | alloc, |
SubRunContainerOwner | subRuns, | ||
int | totalMemorySize, | ||
SkColor | initialLuminance | ||
) |
Definition at line 246 of file TextBlob.cpp.
|
overridedefault |
void sktext::gpu::TextBlob::addKey | ( | const Key & | key | ) |
Definition at line 215 of file TextBlob.cpp.
bool sktext::gpu::TextBlob::canReuse | ( | const SkPaint & | paint, |
const SkMatrix & | positionMatrix | ||
) | const |
Definition at line 219 of file TextBlob.cpp.
void sktext::gpu::TextBlob::draw | ( | SkCanvas * | canvas, |
SkPoint | drawOrigin, | ||
const SkPaint & | paint, | ||
const AtlasDrawDelegate & | atlasDelegate | ||
) |
Definition at line 239 of file TextBlob.cpp.
|
inline |
Definition at line 106 of file TextBlob.h.
const TextBlob::Key & sktext::gpu::TextBlob::key | ( | ) | const |
Definition at line 237 of file TextBlob.cpp.
|
static |
Definition at line 194 of file TextBlob.cpp.
void sktext::gpu::TextBlob::operator delete | ( | void * | p | ) |
Definition at line 188 of file TextBlob.cpp.
void * sktext::gpu::TextBlob::operator new | ( | size_t | ) |
Definition at line 189 of file TextBlob.cpp.
void * sktext::gpu::TextBlob::operator new | ( | size_t | , |
void * | p | ||
) |
Definition at line 190 of file TextBlob.cpp.
|
inline |
Definition at line 113 of file TextBlob.h.
sktext::gpu::TextBlob::SK_DECLARE_INTERNAL_LLIST_INTERFACE | ( | TextBlob | ) |
|
friend |
Definition at line 121 of file TextBlob.h.