aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/SkPaint_Reference.bmh
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2017-11-02 17:49:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-02 22:10:53 +0000
commit2ade99783120cf9149e7b2e85b3c3c2bd63d4839 (patch)
tree62498c450e03777d3e8f6a2e3aed31eb0b4c3020 /docs/SkPaint_Reference.bmh
parentba7cf29fa8cb60514177bcf7c91f5f1607480ad6 (diff)
filling holes in canvas doc
filling holes in canvas doc Docs-Preview: https://skia.org/?cl=66920 TBR=caryclark@google.com Bug: skia:6898 Change-Id: I3a211df5f19ecfbfa0bb060bb6d55005a38cd360 Reviewed-on: https://skia-review.googlesource.com/66920 Reviewed-by: Cary Clark <caryclark@skia.org> Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs/SkPaint_Reference.bmh')
-rw-r--r--docs/SkPaint_Reference.bmh32
1 files changed, 17 insertions, 15 deletions
diff --git a/docs/SkPaint_Reference.bmh b/docs/SkPaint_Reference.bmh
index 3369cd2861..aa388d3b09 100644
--- a/docs/SkPaint_Reference.bmh
+++ b/docs/SkPaint_Reference.bmh
@@ -630,7 +630,7 @@ by the client.
#NoExample
##
-#ToDo incomplete ##
+#SeeAlso SkReadBuffer
##
@@ -847,7 +847,7 @@ To be deprecated; only valid for Android framework.
mask for strike-thru text
##
-#ToDo incomplete ##
+#SeeAlso Flags getFlags
#Enum ##
@@ -2431,6 +2431,7 @@ Stroke_Width at the contour point.
Stroke_Cap is kButt_Cap by default.
#Example
+#Height 200
SkPaint paint;
paint.setStyle(SkPaint::kStroke_Style);
paint.setStrokeWidth(20);
@@ -2502,18 +2503,19 @@ to the end of a curve within the contour does not match the tangent direction of
the following curve, the pair of curves meet at Stroke_Join.
#Example
- SkPaint paint;
- paint.setStyle(SkPaint::kStroke_Style);
- paint.setStrokeWidth(20);
- SkPath path;
- path.moveTo(30, 30);
- path.lineTo(40, 50);
- path.conicTo(70, 30, 100, 30, .707f);
- for (SkPaint::Join j : { SkPaint::kMiter_Join, SkPaint::kRound_Join, SkPaint::kBevel_Join } ) {
- paint.setStrokeJoin(j);
- canvas->drawPath(path, paint);
- canvas->translate(0, 70);
- }
+#Height 200
+ SkPaint paint;
+ paint.setStyle(SkPaint::kStroke_Style);
+ paint.setStrokeWidth(20);
+ SkPath path;
+ path.moveTo(30, 20);
+ path.lineTo(40, 40);
+ path.conicTo(70, 20, 100, 20, .707f);
+ for (SkPaint::Join j : { SkPaint::kMiter_Join, SkPaint::kRound_Join, SkPaint::kBevel_Join } ) {
+ paint.setStrokeJoin(j);
+ canvas->drawPath(path, paint);
+ canvas->translate(0, 70);
+ }
##
#Enum Join
@@ -5293,7 +5295,7 @@ suppressed by defining SK_IGNORE_TO_STRING.
##
-#ToDo incomplete ##
+#SeeAlso SkPathEffect::toString SkMaskFilter::toString SkColorFilter::toString SkImageFilter::toString
##