From 2f466242c7289b246d7ef665aa50006cfd11aa36 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Mon, 11 Dec 2017 16:03:17 -0500 Subject: working on image and nightly housekeeping bot Add more examples and docs for SkImage; still a ways to go. Fix bit-rotted examples. Add typedef support. Add json driver to pick files to work on; remove special-casing. Fix unordered map traversal that made md output unreliable. TBR=rmistry@google.com Docs-Preview: https://skia.org/?cl=80060 Bug: skia:6898 Change-Id: Ib8eb9fdfa5a9db61c8332e657fa2e2f4b96a665f Reviewed-on: https://skia-review.googlesource.com/80060 Reviewed-by: Cary Clark Commit-Queue: Cary Clark --- docs/SkBitmap_Reference.bmh | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'docs/SkBitmap_Reference.bmh') diff --git a/docs/SkBitmap_Reference.bmh b/docs/SkBitmap_Reference.bmh index 6f65688d2d..4e0525e85f 100644 --- a/docs/SkBitmap_Reference.bmh +++ b/docs/SkBitmap_Reference.bmh @@ -85,14 +85,14 @@ is useful to position one or more Bitmaps within a shared pixel array. # allocPixels # Allocates pixels from Image_Info, or aborts. ## # allocPixelsFlags # Allocates pixels from Image_Info with options, or aborts. ## # alphaType # Returns Image_Info Alpha_Type. ## -# bounds() # Returns width and height as Rectangle. ## +# bounds() # Returns width() and height() as Rectangle. ## # bytesPerPixel # Returns number of bytes in pixel based on Color_Type. ## # colorSpace # Returns Image_Info Color_Space. ## # colorType # Returns Image_Info Color_Type. ## # computeByteSize # Returns size required for pixels. ## -# dimensions # Returns width and height. ## -# drawsNothing # Returns true if no width, no height, or no Pixel_Ref. ## -# empty() # Returns true if Image_Info has zero width or height. ## +# dimensions() # Returns width() and height(). ## +# drawsNothing # Returns true if no width(), no height(), or no Pixel_Ref. ## +# empty() # Returns true if Image_Info has zero width() or height(). ## # erase() # Writes Color to rectangle of pixels. ## # eraseARGB # Writes Color to pixels. ## # eraseArea # Deprecated ## @@ -104,7 +104,7 @@ is useful to position one or more Bitmaps within a shared pixel array. # getAddr16 # Returns readable pixel address as 16-bit pointer. ## # getAddr32 # Returns readable pixel address as 32-bit pointer. ## # getAddr8 # Returns readable pixel address as 8-bit pointer. ## -# getBounds # Returns width and height as Rectangle. ## +# getBounds # Returns width() and height() as Rectangle. ## # getColor # Returns one pixel as Unpremultiplied Color. ## # getGenerationID # Returns unique ID. ## # getPixels # Returns address of pixels. ## @@ -583,7 +583,7 @@ Returns Color_Space, the range of colors, associated with Image_Info. The reference count of Color_Space is unchanged. The returned Color_Space is immutable. -#Return Color_Space in Image_Info ## +#Return Color_Space in Image_Info, or nullptr ## #Example #Description @@ -3387,16 +3387,16 @@ pixmap contents become invalid on any future change to Bitmap. } } #StdOut ------- --xxx-- -x---x- -----x- ----x-- ---x--- ---x--- ------- ---x--- ---x--- +------ +-xxx-- +x---x- +----x- +---x-- +--x--- +--x--- +------ +--x--- +--x--- ------ #StdOut ## ## -- cgit v1.2.3