Searched defs:GrGlyph (Results 1 – 1 of 1) sorted by relevance
27 struct GrGlyph { struct43 void init(GrGlyph::PackedID packed, const SkIRect& bounds, GrMaskFormat format) { in init() argument53 void reset() { in reset()60 int width() const { return fBounds.width(); } in width()61 int height() const { return fBounds.height(); } in height()62 bool isEmpty() const { return fBounds.isEmpty(); } in isEmpty()63 uint16_t glyphID() const { return UnpackID(fPackedID); } in glyphID()67 static inline unsigned ExtractSubPixelBitsFromFixed(SkFixed pos) { in ExtractSubPixelBitsFromFixed()95 static inline const GrGlyph::PackedID& GetKey(const GrGlyph& glyph) { in GetKey() argument99 static inline uint32_t Hash(GrGlyph::PackedID key) { in Hash() argument