Flutter Engine
The Flutter Engine
|
#include <SkGlyph.h>
Public Member Functions | |
SkGlyphDigest ()=default | |
SkGlyphDigest (size_t index, const SkGlyph &glyph) | |
int | index () const |
bool | isEmpty () const |
bool | isColor () const |
SkMask::Format | maskFormat () const |
skglyph::GlyphAction | actionFor (skglyph::ActionType actionType) const |
void | setActionFor (skglyph::ActionType, SkGlyph *, sktext::StrikeForGPU *) |
uint16_t | maxDimension () const |
bool | fitsInAtlasDirect () const |
bool | fitsInAtlasInterpolated () const |
SkGlyphRect | bounds () const |
Static Public Member Functions | |
static bool | FitsInAtlas (const SkGlyph &glyph) |
static SkPackedGlyphID | GetKey (SkGlyphDigest digest) |
static uint32_t | Hash (SkPackedGlyphID packedID) |
Static Public Attributes | |
static constexpr uint16_t | kSkSideTooBigForAtlas = 256 |
|
default |
SkGlyphDigest::SkGlyphDigest | ( | size_t | index, |
const SkGlyph & | glyph | ||
) |
|
inline |
|
inline |
|
static |
Definition at line 684 of file SkGlyph.cpp.
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
void SkGlyphDigest::setActionFor | ( | skglyph::ActionType | actionType, |
SkGlyph * | glyph, | ||
sktext::StrikeForGPU * | strike | ||
) |
Definition at line 634 of file SkGlyph.cpp.
|
staticconstexpr |