Searched defs:GrGlyph (Results 1 – 1 of 1) sorted by relevance
26 struct GrGlyph { struct44 void init(GrGlyph::PackedID packed, const SkIRect& bounds, GrMaskFormat format) { in init() argument55 void free() { in free()62 int width() const { return fBounds.width(); } in width()63 int height() const { return fBounds.height(); } in height()64 bool isEmpty() const { return fBounds.isEmpty(); } in isEmpty()65 uint16_t glyphID() const { return UnpackID(fPackedID); } in glyphID()69 static inline unsigned ExtractSubPixelBitsFromFixed(SkFixed pos) { in ExtractSubPixelBitsFromFixed()97 static inline const GrGlyph::PackedID& GetKey(const GrGlyph& glyph) { in GetKey() argument101 static inline uint32_t Hash(GrGlyph::PackedID key) { in Hash() argument