Searched defs:GrGlyph (Results 1 – 2 of 2) sorted by relevance
22 struct GrGlyph { struct31 void init(GrGlyph::PackedID packed, const SkIRect& bounds) { in init() argument39 void free() { in free()46 int width() const { return fBounds.width(); } in width()47 int height() const { return fBounds.height(); } in height()48 bool isEmpty() const { return fBounds.isEmpty(); } in isEmpty()49 uint16_t glyphID() const { return UnpackID(fPackedID); } in glyphID()53 static inline unsigned ExtractSubPixelBitsFromFixed(SkFixed pos) { in ExtractSubPixelBitsFromFixed()58 static inline PackedID Pack(uint16_t glyphID, SkFixed x, SkFixed y) { in Pack()64 static inline SkFixed UnpackFixedX(PackedID packed) { in UnpackFixedX()[all …]