From 80247e594d1fb168e11a19ce6a73a7e7169ec1f5 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Wed, 11 Jul 2018 16:18:41 -0400 Subject: Publish docs for rrect, picture, blendmode Complete basic docs for SkRRect, SkPicture, SkBlendMode. Add a new rule that checks the main description tense. Check for spelling errors. R=caryclark@google.com Docs-Preview: https://skia.org/?cl=138542 Bug: skia:6898 Change-Id: Iba547873775a89f1d652be9b0219b84ffa8d0628 Reviewed-on: https://skia-review.googlesource.com/138542 Commit-Queue: Cary Clark Reviewed-by: Cary Clark Auto-Submit: Cary Clark --- docs/SkSurface_Reference.bmh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/SkSurface_Reference.bmh') diff --git a/docs/SkSurface_Reference.bmh b/docs/SkSurface_Reference.bmh index cf42ef7aa5..a84a6dd1c2 100644 --- a/docs/SkSurface_Reference.bmh +++ b/docs/SkSurface_Reference.bmh @@ -1250,6 +1250,7 @@ Does not copy, and returns false if: # Pixmap pixels could not be allocated. ## # dst.rowBytes() is too small to contain one row of pixels. ## ## +. #Param dst storage for pixels copied from Surface ## #Param srcX offset into readable pixels on x-axis; may be negative ## @@ -1309,6 +1310,7 @@ Does not copy, and returns false if: # Surface pixels could not be converted to dstInfo.colorType() or dstInfo.alphaType(). ## # dstRowBytes is too small to contain one row of pixels. ## ## +. #Param dstInfo width, height, Color_Type, and Alpha_Type of dstPixels ## #Param dstPixels storage for pixels; dstInfo.height() times dstRowBytes, or larger ## @@ -1375,6 +1377,7 @@ Does not copy, and returns false if: # dst pixels could not be allocated. ## # dst.rowBytes() is too small to contain one row of pixels. ## ## +. #Param dst storage for pixels copied from Surface ## #Param srcX offset into readable pixels on x-axis; may be negative ## @@ -1417,6 +1420,7 @@ Destination Rect corners are (dstX, dstY) and (dstX + Surface width(), dstY + Surface height()) ## . + Copies each readable pixel intersecting both rectangles, without scaling, converting to Surface colorType() and Surface alphaType() if required. @@ -1457,6 +1461,7 @@ Destination Rect corners are (dstX, dstY) and (dstX + Surface width(), dstY + Surface height()) ## . + Copies each readable pixel intersecting both rectangles, without scaling, converting to Surface colorType() and Surface alphaType() if required. -- cgit v1.2.3