Lines Matching defs:SkPackedGlyphID
24 struct SkPackedGlyphID { struct
47 static constexpr SkScalar kSubpixelRound = 1.f / (1u << (SkPackedGlyphID::kSubPixelPosLen + 1)); argument
52 constexpr explicit SkPackedGlyphID(SkGlyphID glyphID) in SkPackedGlyphID() function
55 constexpr SkPackedGlyphID(SkGlyphID glyphID, SkFixed x, SkFixed y) in SkPackedGlyphID() function
58 constexpr SkPackedGlyphID(SkGlyphID glyphID, uint32_t x, uint32_t y) in SkPackedGlyphID() function
61 SkPackedGlyphID(SkGlyphID glyphID, SkPoint pt, SkIPoint mask) in SkPackedGlyphID() function
64 constexpr explicit SkPackedGlyphID(uint32_t v) : fID{v & kMaskAll} { } in SkPackedGlyphID() argument
65 constexpr SkPackedGlyphID() : fID{kImpossibleID} {} in SkPackedGlyphID() argument
77 SkGlyphID glyphID() const { in glyphID()
81 uint32_t value() const { in value()
85 SkFixed getSubXFixed() const { in getSubXFixed()
89 SkFixed getSubYFixed() const { in getSubYFixed()
93 uint32_t hash() const { in hash()
97 SkString dump() const { in dump()
104 static constexpr uint32_t PackIDSubXSubY(SkGlyphID glyphID, uint32_t x, uint32_t y) { in PackIDSubXSubY()
127 static uint32_t PackIDSkPoint(SkGlyphID glyphID, SkPoint pt, SkIPoint mask) { in PackIDSkPoint()
158 static constexpr uint32_t PackIDXY(SkGlyphID glyphID, SkFixed x, SkFixed y) { in PackIDXY()
162 static constexpr uint32_t FixedToSub(SkFixed n) { in FixedToSub()
166 constexpr SkFixed subToFixed(uint32_t subPixelPosBit) const { in subToFixed()
171 uint32_t fID;