Searched defs:GrGlyph (Results 1 – 2 of 2) sorted by relevance
19 struct GrGlyph { struct20 enum MaskStyle {25 static GrMaskFormat FormatFromSkGlyph(const SkGlyph& glyph) { in FormatFromSkGlyph()54 ? GrGlyph::MaskStyle::kDistance_MaskStyle in MaskStyleFromSkGlyph() argument58 GrGlyph(const SkGlyph& skGlyph) in GrGlyph() function65 SkRect destRect(SkPoint origin) { in destRect()95 static const SkPackedGlyphID& GetKey(const GrGlyph& glyph) { in GetKey() argument99 static uint32_t Hash(SkPackedGlyphID key) { in Hash()103 const SkPackedGlyphID fPackedID;104 const GrMaskFormat fMaskFormat;[all …]
19 struct GrGlyph { struct20 enum MaskStyle {46 ? GrGlyph::MaskStyle::kDistance_MaskStyle in MaskStyleFromSkGlyph() argument50 GrGlyph(const SkGlyph& skGlyph) in GrGlyph() argument57 SkRect destRect(SkPoint origin) { in destRect()65 SkRect destRect(SkPoint origin, SkScalar textScale) { in destRect()81 int width() const { return fBounds.width(); } in width()82 int height() const { return fBounds.height(); } in height()83 uint32_t pageIndex() const { return GrDrawOpAtlas::GetPageIndexFromID(fPlotLocator); } in pageIndex()84 MaskStyle maskStyle() const { return fMaskStyle; } in maskStyle()[all …]