Index: include/gpu/GrDistanceFieldTextContext.h |
diff --git a/include/gpu/GrDistanceFieldTextContext.h b/include/gpu/GrDistanceFieldTextContext.h |
index 4fde6ceef8d8b8dc3e8375c9732d4f14d7211466..79058b8bbddb7f9f61866ce3bac5465074262061 100755 |
--- a/include/gpu/GrDistanceFieldTextContext.h |
+++ b/include/gpu/GrDistanceFieldTextContext.h |
@@ -17,26 +17,21 @@ class GrTextStrike; |
*/ |
class GrDistanceFieldTextContext : public GrTextContext { |
public: |
- virtual void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top, |
- GrFontScaler*) SK_OVERRIDE; |
- |
- void drawText(const char text[], size_t byteLength, |
- SkScalar x, SkScalar y, SkGlyphCache*, GrFontScaler*); |
- void drawPosText(const char text[], size_t byteLength, |
- const SkScalar pos[], SkScalar constY, |
- int scalarsPerPosition, |
- SkGlyphCache* cache, GrFontScaler* fontScaler); |
- |
- const SkPaint& getSkPaint() { return fSkPaint; } |
+ virtual void drawText(const char text[], size_t byteLength, SkScalar x, SkScalar y) SK_OVERRIDE; |
+ virtual void drawPosText(const char text[], size_t byteLength, |
+ const SkScalar pos[], SkScalar constY, |
+ int scalarsPerPosition) SK_OVERRIDE; |
private: |
- GrDistanceFieldTextContext(GrContext*, const GrPaint&, const SkPaint&); |
+ GrDistanceFieldTextContext(GrContext*, const GrPaint&, const SkPaint&, |
+ const SkDeviceProperties&); |
virtual ~GrDistanceFieldTextContext(); |
friend class GrTTextContextManager<GrDistanceFieldTextContext>; |
GrTextStrike* fStrike; |
SkScalar fTextRatio; |
+ void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top, GrFontScaler*); |
void flushGlyphs(); // automatically called by destructor |
enum { |