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

Unified Diff: src/core/SkRemote.cpp

Issue 1412013002: SkRemote: impl drawRRect (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 | « src/core/SkRemote.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkRemote.cpp
diff --git a/src/core/SkRemote.cpp b/src/core/SkRemote.cpp
index 4f2714fa24f9fcf231f77ba72e1ca23310eb7762..1d81f584488a1b9470600d6e08bd4c6dac986582 100644
--- a/src/core/SkRemote.cpp
+++ b/src/core/SkRemote.cpp
@@ -207,6 +207,12 @@ namespace SkRemote {
this->onDrawPath(path, paint);
}
+ void Client::onDrawRRect(const SkRRect& rrect, const SkPaint& paint) {
+ SkPath path;
+ path.addRRect(rrect);
+ this->onDrawPath(path, paint);
+ }
+
void Client::onDrawDRRect(const SkRRect& outside,
const SkRRect& inside,
const SkPaint& paint) {
« no previous file with comments | « src/core/SkRemote.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698