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

Unified Diff: site/user/api/skpaint.md

Issue 1993903002: Fix example code in skpaint.md. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/user/api/skpaint.md
diff --git a/site/user/api/skpaint.md b/site/user/api/skpaint.md
index 7a77bf7354d66cbc270390c8340b8683f4de4673..bde8eb639ea0bc777ca45d752f9f3df26aa0cfd3 100644
--- a/site/user/api/skpaint.md
+++ b/site/user/api/skpaint.md
@@ -32,12 +32,12 @@ of matrix and clip settings.
paint1.setTextSize(64.0f);
paint1.setAntiAlias(true);
- paint1.setColor(SkColorSetRGB(255, 0, 0);
+ paint1.setColor(SkColorSetRGB(255, 0, 0));
paint1.setStyle(SkPaint::kFill_Style);
paint2.setTextSize(64.f);
paint2.setAntiAlias(true);
- paint2.setColor(SkColorSetRGB(0, 136, 0);
+ paint2.setColor(SkColorSetRGB(0, 136, 0));
paint2.setStyle(SkPaint::kStroke_Style);
paint2.setStrokeWidth(SkIntToScalar(3));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698