Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: include/core/SkCanvas.h

Issue 429343004: Stopped skipping tests in dm of SkPatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Moved DRAW_PATCH DrawType to the last position Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/patch.cpp ('k') | include/core/SkPatch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 5c4db207cc0226b9598688e7e11519ce055a30a3..f74ebb7f56ff3a93f05efd89b72fdf4e79c4acc5 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1008,6 +1008,13 @@ public:
const uint16_t indices[], int indexCount,
const SkPaint& paint);
+ /**
+
+ Draw a SkPatch
+
+ @param patch specifies the 4 bounding cubic bezier curves of a patch.
+ @param paint Specifies the shader/texture if present.
+ */
virtual void drawPatch(const SkPatch& patch, const SkPaint& paint);
/** Send a blob of data to the canvas.
« no previous file with comments | « gm/patch.cpp ('k') | include/core/SkPatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698