diff options
author | Cary Clark <caryclark@skia.org> | 2018-01-03 08:37:53 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-03 14:21:19 +0000 |
commit | 61dfc3a53d9d47843dc80b0a61e445e86a482185 (patch) | |
tree | 16fbd517e4c532f8cd1df89a93142af044651109 /docs/SkPath_Reference.bmh | |
parent | 36add77b9cde8c370eebbefc38960da42867f4c0 (diff) |
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 <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs/SkPath_Reference.bmh')
-rw-r--r-- | docs/SkPath_Reference.bmh | 13 |
1 files changed, 6 insertions, 7 deletions
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 |