diff options
author | 2016-08-19 11:25:19 -0700 | |
---|---|---|
committer | 2016-08-19 11:25:20 -0700 | |
commit | ac3aa245acc7b469aa2f0d0078e53401d78ac8b9 (patch) | |
tree | 4fcfa94f89d607591187ac1584bb00b14cc1ccac /include/utils/SkNWayCanvas.h | |
parent | af0f6efa3502f03b52747f0ede5399e075dbfe5d (diff) |
Plumb drawArc to SkDevice.
Plumbs the drawArc canvas method down to SkDevice without converting to a path. Plumbs through the various recording canvas classes.
BUG=skia:5227
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2257023003
Review-Url: https://codereview.chromium.org/2257023003
Diffstat (limited to 'include/utils/SkNWayCanvas.h')
-rw-r--r-- | include/utils/SkNWayCanvas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/SkNWayCanvas.h b/include/utils/SkNWayCanvas.h index a4b9c59412..2c93df9aa2 100644 --- a/include/utils/SkNWayCanvas.h +++ b/include/utils/SkNWayCanvas.h @@ -59,6 +59,7 @@ protected: void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) override; void onDrawRect(const SkRect&, const SkPaint&) override; void onDrawOval(const SkRect&, const SkPaint&) override; + void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) override; void onDrawRRect(const SkRRect&, const SkPaint&) override; void onDrawPath(const SkPath&, const SkPaint&) override; void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint*) override; |