diff options
author | fmalita <fmalita@chromium.org> | 2014-08-26 07:56:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-26 07:56:44 -0700 |
commit | b7425173f96e93b090787e2386ba5f022b6c2869 (patch) | |
tree | b73511cfeb4373c7a46a2507ada4274ca4b099e8 /include/utils/SkNWayCanvas.h | |
parent | 3d2e50d1aa56d7f65a4c52fa03af4413fa4c616a (diff) |
SkTextBlob plumbing
Add SkTextBlob serialization + drawTextBlob() overrides.
R=mtklein@google.com, reed@google.com, robertphillips@google.com
BUG=269080
Author: fmalita@chromium.org
Review URL: https://codereview.chromium.org/499413002
Diffstat (limited to 'include/utils/SkNWayCanvas.h')
-rw-r--r-- | include/utils/SkNWayCanvas.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils/SkNWayCanvas.h b/include/utils/SkNWayCanvas.h index 5c48a831c6..d3f5cca4cd 100644 --- a/include/utils/SkNWayCanvas.h +++ b/include/utils/SkNWayCanvas.h @@ -75,6 +75,8 @@ protected: SkScalar constY, const SkPaint&) SK_OVERRIDE; virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint&) SK_OVERRIDE; + virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, + const SkPaint& paint) SK_OVERRIDE; virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint) SK_OVERRIDE; |