| Index: src/gpu/GrTextContext.h
|
| diff --git a/src/gpu/GrTextContext.h b/src/gpu/GrTextContext.h
|
| index 4f7207b04c0edc07eed403b0791e5b72561f80f2..46cede6e87b7336dc880311a86589bcbd4e35f7c 100644
|
| --- a/src/gpu/GrTextContext.h
|
| +++ b/src/gpu/GrTextContext.h
|
| @@ -25,9 +25,9 @@ class GrTextContext {
|
| public:
|
| virtual ~GrTextContext();
|
|
|
| - bool drawText(const GrPaint&, const SkPaint&, const char text[], size_t byteLength,
|
| - SkScalar x, SkScalar y);
|
| - bool drawPosText(const GrPaint&, const SkPaint&,
|
| + bool drawText(const GrPaint&, const SkPaint&, const SkMatrix& viewMatrix, const char text[],
|
| + size_t byteLength, SkScalar x, SkScalar y);
|
| + bool drawPosText(const GrPaint&, const SkPaint&, const SkMatrix& viewMatrix,
|
| const char text[], size_t byteLength,
|
| const SkScalar pos[], int scalarsPerPosition,
|
| const SkPoint& offset);
|
| @@ -44,11 +44,11 @@ protected:
|
|
|
| GrTextContext(GrContext*, const SkDeviceProperties&);
|
|
|
| - virtual bool canDraw(const SkPaint& paint) = 0;
|
| + virtual bool canDraw(const SkPaint& paint, const SkMatrix& viewMatrix) = 0;
|
|
|
| - virtual void onDrawText(const GrPaint&, const SkPaint&, const char text[], size_t byteLength,
|
| - SkScalar x, SkScalar y) = 0;
|
| - virtual void onDrawPosText(const GrPaint&, const SkPaint&,
|
| + virtual void onDrawText(const GrPaint&, const SkPaint&, const SkMatrix& viewMatrix,
|
| + const char text[], size_t byteLength, SkScalar x, SkScalar y) = 0;
|
| + virtual void onDrawPosText(const GrPaint&, const SkPaint&, const SkMatrix& viewMatrix,
|
| const char text[], size_t byteLength,
|
| const SkScalar pos[], int scalarsPerPosition,
|
| const SkPoint& offset) = 0;
|
|
|