| Index: include/gpu/GrBitmapTextContext.h
|
| diff --git a/include/gpu/GrBitmapTextContext.h b/include/gpu/GrBitmapTextContext.h
|
| index e1b3d725a93817b51308c65f9f1a7b243b2a0f73..e1317684a3cd7a0e20471264856736e5cc264e8c 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;
|
| + void drawText(const char text[], size_t byteLength, SkScalar x, SkScalar y) SK_OVERRIDE;
|
| + 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(SkGpuDevice*, const GrPaint&, const SkPaint&);
|
| 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 {
|
|
|