Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index 482483f43a9f99677b2682af8d0ba0d61105a181..b58a3f3d4fe1ea1afe68ead8010d163c15dd5d21 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -35,11 +35,6 @@ class SkShader; |
class SkSurfaceProps; |
class SkTypeface; |
-typedef const SkGlyph& (*SkDrawCacheProc)(SkGlyphCache*, const char**, |
- SkFixed x, SkFixed y); |
- |
-typedef const SkGlyph& (*SkMeasureCacheProc)(SkGlyphCache*, const char**); |
- |
#define kBicubicFilterBitmap_Flag kHighQualityFilterBitmap_Flag |
/** \class SkPaint |
@@ -1030,6 +1025,8 @@ public: |
return SetTextMatrix(matrix, fTextSize, fTextScaleX, fTextSkewX); |
} |
+ typedef const SkGlyph& (*GlyphCacheProc)(SkGlyphCache*, const char**); |
+ |
SK_TO_STRING_NONVIRT() |
private: |
@@ -1066,8 +1063,7 @@ private: |
uint32_t fBitfieldsUInt; |
}; |
- SkDrawCacheProc getDrawCacheProc() const; |
- SkMeasureCacheProc getMeasureCacheProc(bool needFullMetrics) const; |
+ GlyphCacheProc getGlyphCacheProc(bool needFullMetrics) const; |
SkScalar measure_text(SkGlyphCache*, const char* text, size_t length, |
int* count, SkRect* bounds) const; |