Index: src/gpu/GrTextStrike.h |
diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h |
index c5a3f656251b7d167f12e7a1922f33d4caae26eb..17dcec618c500964abbdaed0a62e09bee7f85ee4 100644 |
--- a/src/gpu/GrTextStrike.h |
+++ b/src/gpu/GrTextStrike.h |
@@ -39,6 +39,8 @@ public: |
inline GrGlyph* getGlyph(GrGlyph::PackedID, GrFontScaler*); |
bool getGlyphAtlas(GrGlyph*, GrFontScaler*); |
+ SkISize getAtlasSize() const { return fAtlas.getSize(); } |
+ |
// testing |
int countGlyphs() const { return fCache.getArray().count(); } |
const GrGlyph* glyphAt(int index) const { |