Flutter Engine
The Flutter Engine
|
#include <SkGlyph.h>
Classes | |
struct | Hash |
Public Types | |
enum | { kGlyphIDLen = 16u , kSubPixelPosLen = 2u , kSubPixelX = 0u , kGlyphID = kSubPixelPosLen , kSubPixelY = kGlyphIDLen + kSubPixelPosLen , kEndData = kGlyphIDLen + 2 * kSubPixelPosLen , kGlyphIDMask = (1u << kGlyphIDLen) - 1 , kSubPixelPosMask = (1u << kSubPixelPosLen) - 1 , kMaskAll = (1u << kEndData) - 1 , kFixedPointBinaryPointPos = 16u , kFixedPointSubPixelPosBits = kFixedPointBinaryPointPos - kSubPixelPosLen } |
Public Member Functions | |
constexpr | SkPackedGlyphID (SkGlyphID glyphID) |
constexpr | SkPackedGlyphID (SkGlyphID glyphID, SkFixed x, SkFixed y) |
constexpr | SkPackedGlyphID (SkGlyphID glyphID, uint32_t x, uint32_t y) |
SkPackedGlyphID (SkGlyphID glyphID, SkPoint pt, SkIPoint mask) | |
constexpr | SkPackedGlyphID (uint32_t v) |
constexpr | SkPackedGlyphID () |
bool | operator== (const SkPackedGlyphID &that) const |
bool | operator!= (const SkPackedGlyphID &that) const |
bool | operator< (SkPackedGlyphID that) const |
SkGlyphID | glyphID () const |
uint32_t | value () const |
SkFixed | getSubXFixed () const |
SkFixed | getSubYFixed () const |
uint32_t | hash () const |
SkString | dump () const |
SkString | shortDump () const |
Static Public Attributes | |
static constexpr uint32_t | kImpossibleID = ~0u |
static const constexpr SkScalar | kSubpixelRound |
static const constexpr SkIPoint | kXYFieldMask |
anonymous enum |
Enumerator | |
---|---|
kGlyphIDLen | |
kSubPixelPosLen | |
kSubPixelX | |
kGlyphID | |
kSubPixelY | |
kEndData | |
kGlyphIDMask | |
kSubPixelPosMask | |
kMaskAll | |
kFixedPointBinaryPointPos | |
kFixedPointSubPixelPosBits |
Definition at line 48 of file SkGlyph.h.
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
Definition at line 94 of file SkGlyph.h.
|
inline |
Definition at line 126 of file SkGlyph.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 132 of file SkGlyph.h.
|
inline |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |