Chromium Code Reviews| Index: include/gpu/GrFontScaler.h |
| diff --git a/include/gpu/GrFontScaler.h b/include/gpu/GrFontScaler.h |
| index d307cabb429e056db99dfe54e3df628e5dc8549e..342ac3a3d6724fe1244a4c496a96e372e6c74396 100644 |
| --- a/include/gpu/GrFontScaler.h |
| +++ b/include/gpu/GrFontScaler.h |
| @@ -29,6 +29,10 @@ public: |
| virtual bool getPackedGlyphBounds(GrGlyph::PackedID, SkIRect* bounds) = 0; |
| virtual bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height, |
| int rowBytes, void* image) = 0; |
| + // distance field support |
| + virtual bool getPackedGlyphDFBounds(GrGlyph::PackedID, SkIRect* bounds) = 0; |
| + virtual bool getPackedGlyphDFImage(GrGlyph::PackedID, int width, int height, |
|
reed1
2014/04/14 14:18:05
What does this guy return? Does it set dfImage to
jvanverth1
2014/04/14 17:58:42
It generates distance field pixels from the image
|
| + int rowBytes, void* dfImage) = 0; |
| virtual bool getGlyphPath(uint16_t glyphID, SkPath*) = 0; |
| private: |