diff options
author | reed <reed@google.com> | 2016-05-09 17:48:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-09 17:48:46 -0700 |
commit | 82595b6fa4733e1525f357bdcac22db058790550 (patch) | |
tree | 30b534074a9a4d2272ee4c0fea0b67e2b7807ee1 /include | |
parent | 2c3eca38c9f74be9d91f467540feb586a0e941ca (diff) |
refactor drawPath to have drawDevPath
pre-CL for larger change to support read-only paths
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1957263003
TBR=
Review-Url: https://codereview.chromium.org/1957263003
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkDraw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkDraw.h b/include/core/SkDraw.h index 9c96174684..892aec9ea9 100644 --- a/include/core/SkDraw.h +++ b/include/core/SkDraw.h @@ -129,6 +129,9 @@ private: bool pathIsMutable, bool drawCoverage, SkBlitter* customBlitter = NULL) const; + void drawLine(const SkPoint[2], const SkPaint&) const; + void drawDevPath(const SkPath& devPath, const SkPaint& paint, bool drawCoverage, + SkBlitter* customBlitter, bool doFill) 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 |