projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62efdbd
)
Fix example code in skpaint.md.
author
benjaminwagner
<benjaminwagner@google.com>
Wed, 18 May 2016 20:28:56 +0000
(13:28 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Wed, 18 May 2016 20:28:56 +0000
(13:28 -0700)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=
1993903002
NOTRY=true
DOCS_PREVIEW= https://skia.org/?cl=
1993903002
Review-Url: https://codereview.chromium.org/
1993903002
site/user/api/skpaint.md
patch
|
blob
|
history
diff --git
a/site/user/api/skpaint.md
b/site/user/api/skpaint.md
index 7a77bf7354d66cbc270390c8340b8683f4de4673..bde8eb639ea0bc777ca45d752f9f3df26aa0cfd3 100644
(file)
--- 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));