From 61dfc3a53d9d47843dc80b0a61e445e86a482185 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Wed, 3 Jan 2018 08:37:53 -0500 Subject: support srgb flag in bookmaker allow examples to work with colorspace fix point array plural form fix spacing after private message add some SkImage documentation TBR=caryclark@google.com Docs-Preview: https://skia.org/?cl=90360 Bug: skia:6898 Change-Id: I045ee68e7dd9747ec5d40d95588bbc1594c45366 Reviewed-on: https://skia-review.googlesource.com/90360 Reviewed-by: Cary Clark Commit-Queue: Cary Clark --- docs/SkPath_Reference.bmh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'docs/SkPath_Reference.bmh') diff --git a/docs/SkPath_Reference.bmh b/docs/SkPath_Reference.bmh index 83943b0b6c..2626726488 100644 --- a/docs/SkPath_Reference.bmh +++ b/docs/SkPath_Reference.bmh @@ -736,10 +736,9 @@ paths are interpolatable #Method bool interpolate(const SkPath& ending, SkScalar weight, SkPath* out) const -Interpolate between Paths with equal sized Point_Arrays. -Copy Verb_Array and Weights to out, -and set out Point_Array to a weighted average of this Point_Array and ending -Point_Array, using the formula: +Interpolate between Paths with Point_Array of equal size. +Copy Verb_Array and Weights to out, and set out Point_Array to a weighted +average of this Point_Array and ending Point_Array, using the formula: #Formula (this->points * weight) + ending->points * (1 - weight) ## @@ -754,8 +753,8 @@ the same size as ending Point_Array. Call isInterpolatable to check Path compatibility prior to calling interpolate(). #Param ending Point_Array averaged with this Point_Array ## -#Param weight contribution of ending Point_Array, and - one minus contribution of this Point_Array +#Param weight contribution of this Point_Array, and + one minus contribution of ending Point_Array ## #Param out Path replaced by interpolated averages ## @@ -1759,7 +1758,7 @@ second move is not line # ------------------------------------------------------------------------------ #Subtopic Point_Array -#Alias Point_Arrays +#Substitute SkPoint array Point_Array contains Points satisfying the allocated Points for each Verb in Verb_Array. For instance, Path containing one Contour with Line -- cgit v1.2.3