From 2ade99783120cf9149e7b2e85b3c3c2bd63d4839 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Thu, 2 Nov 2017 17:49:34 -0400 Subject: 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 Commit-Queue: Cary Clark --- docs/SkPaint_Reference.bmh | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'docs/SkPaint_Reference.bmh') 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 ## -- cgit v1.2.3