| Index: src/gpu/GrFontScaler.h
|
| diff --git a/src/gpu/GrFontScaler.h b/src/gpu/GrFontScaler.h
|
| index 644c8b719e3cccec7e770c254b0dacf47aee1bf5..1dc5584c92fc614641dfcac988846116a4f8f97c 100644
|
| --- a/src/gpu/GrFontScaler.h
|
| +++ b/src/gpu/GrFontScaler.h
|
| @@ -13,6 +13,7 @@
|
|
|
| #include "SkDescriptor.h"
|
|
|
| +class SkGlyph;
|
| class SkPath;
|
|
|
| /*
|
| @@ -49,14 +50,13 @@ public:
|
|
|
| const GrFontDescKey* getKey();
|
| GrMaskFormat getMaskFormat() const;
|
| - GrMaskFormat getPackedGlyphMaskFormat(GrGlyph::PackedID) const;
|
| - bool getPackedGlyphBounds(GrGlyph::PackedID, SkIRect* bounds);
|
| - bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height,
|
| - int rowBytes, void* image);
|
| - bool getPackedGlyphDFBounds(GrGlyph::PackedID, SkIRect* bounds);
|
| - bool getPackedGlyphDFImage(GrGlyph::PackedID, int width, int height,
|
| - void* image);
|
| - bool getGlyphPath(uint16_t glyphID, SkPath*);
|
| + GrMaskFormat getPackedGlyphMaskFormat(const SkGlyph&) const;
|
| + bool getPackedGlyphBounds(const SkGlyph&, SkIRect* bounds);
|
| + bool getPackedGlyphImage(const SkGlyph&, int width, int height, int rowBytes, void* image);
|
| + bool getPackedGlyphDFBounds(const SkGlyph&, SkIRect* bounds);
|
| + bool getPackedGlyphDFImage(const SkGlyph&, int width, int height, void* image);
|
| + const SkPath* getGlyphPath(const SkGlyph&);
|
| + const SkGlyph& grToSkGlyph(GrGlyph::PackedID);
|
|
|
| private:
|
| SkGlyphCache* fStrike;
|
|
|