Index: include/core/SkDraw.h |
diff --git a/include/core/SkDraw.h b/include/core/SkDraw.h |
index 2a8afc4876f0dad1774b9ec06ea5562f33ec41b1..293d4e3c78dcfb3934a5637056cf2016745f1743 100644 |
--- a/include/core/SkDraw.h |
+++ b/include/core/SkDraw.h |
@@ -103,6 +103,10 @@ private: |
void drawDevMask(const SkMask& mask, const SkPaint&) const; |
void drawBitmapAsMask(const SkBitmap&, const SkPaint&) const; |
+ void drawPosText_asPaths(const char text[], size_t byteLength, |
+ const SkScalar pos[], SkScalar constY, |
+ int scalarsPerPosition, const SkPaint&) const; |
+ |
/** |
* Return the current clip bounds, in local coordinates, with slop to account |
* for antialiasing or hairlines (i.e. device-bounds outset by 1, and then |
@@ -114,6 +118,8 @@ private: |
bool SK_WARN_UNUSED_RESULT |
computeConservativeLocalClipBounds(SkRect* bounds) const; |
+ static bool ShouldDrawTextAsPaths(const SkPaint&, const SkMatrix&); |
+ |
public: |
const SkBitmap* fBitmap; // required |
const SkMatrix* fMatrix; // required |