diff options
author | Cary Clark <caryclark@skia.org> | 2018-10-31 10:54:50 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-10-31 15:37:37 +0000 |
commit | 82456498d85e85785f3989011fa0619e04c06f95 (patch) | |
tree | 76aa13e3676509360cafdc60f43528193fdb496f /docs | |
parent | c127b9b59a16f45ca344a3daf6f063e9e1479bd1 (diff) | |
download | skqp-82456498d85e85785f3989011fa0619e04c06f95.tar.gz |
give include comments the once over
In preparation for upcoming changes to bookmaker
which validate more include contents, revise
generated files in include/core to fix various
errors.
Fixes include:
- references in comments to other Skia interface elements
- @param names agree with function declarations
- spelling typos
- generic references (e.g. 'x' in place of 'x-axis')
- lines longer than 100 columns
The fix to SkPath::rCubicTo triggered a parallel
fix to SkPath_Reference.bmh; other wed documentation
fixes will be in an upcoming CL.
TBR=reed@google.com
Docs-Preview: https://skia.org/?cl=166680
Bug: skia:
Change-Id: If734696dc64655f1cf40b121a180210c932b1d89
Reviewed-on: https://skia-review.googlesource.com/c/166680
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SkPath_Reference.bmh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/SkPath_Reference.bmh b/docs/SkPath_Reference.bmh index 7011ead279..26206692ce 100644 --- a/docs/SkPath_Reference.bmh +++ b/docs/SkPath_Reference.bmh @@ -2762,8 +2762,8 @@ to Point_Array. # ------------------------------------------------------------------------------ -#Method SkPath& rCubicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, - SkScalar x3, SkScalar y3) +#Method SkPath& rCubicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2, + SkScalar dx3, SkScalar dy3) #In Build #In Cubic #Line # appends Cubic relative to Last_Point ## @@ -2780,12 +2780,12 @@ to Point_Array. Cubic end is Last_Point plus Vector (dx2, dy2). Function name stands for "relative cubic to". - #Param x1 offset from Last_Point to first Cubic control on x-axis ## - #Param y1 offset from Last_Point to first Cubic control on y-axis ## - #Param x2 offset from Last_Point to second Cubic control on x-axis ## - #Param y2 offset from Last_Point to second Cubic control on y-axis ## - #Param x3 offset from Last_Point to Cubic end on x-axis ## - #Param y3 offset from Last_Point to Cubic end on y-axis ## + #Param dx1 offset from Last_Point to first Cubic control on x-axis ## + #Param dy1 offset from Last_Point to first Cubic control on y-axis ## + #Param dx2 offset from Last_Point to second Cubic control on x-axis ## + #Param dy2 offset from Last_Point to second Cubic control on y-axis ## + #Param dx3 offset from Last_Point to Cubic end on x-axis ## + #Param dy3 offset from Last_Point to Cubic end on y-axis ## #Return reference to Path ## |