Index: include/gpu/GrBitmapTextContext.h |
diff --git a/include/gpu/GrBitmapTextContext.h b/include/gpu/GrBitmapTextContext.h |
index e1b3d725a93817b51308c65f9f1a7b243b2a0f73..d9f80682851b988f234a26cb56256326a0cf4101 100755 |
--- a/include/gpu/GrBitmapTextContext.h |
+++ b/include/gpu/GrBitmapTextContext.h |
@@ -17,17 +17,19 @@ class GrTextStrike; |
*/ |
class GrBitmapTextContext : public GrTextContext { |
public: |
- virtual void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top, |
- GrFontScaler*) SK_OVERRIDE; |
+ 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: |
- GrBitmapTextContext(GrContext*, const GrPaint&, const SkPaint&); |
+ GrBitmapTextContext(GrContext*, const GrPaint&, const SkPaint&, const SkDeviceProperties*); |
virtual ~GrBitmapTextContext(); |
friend class GrTTextContextManager<GrBitmapTextContext>; |
- GrContext::AutoMatrix fAutoMatrix; |
GrTextStrike* fStrike; |
+ void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top, GrFontScaler*); |
void flushGlyphs(); // automatically called by destructor |
enum { |