diff options
author | Cary Clark <caryclark@skia.org> | 2017-12-11 16:03:17 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-11 21:47:38 +0000 |
commit | 2f466242c7289b246d7ef665aa50006cfd11aa36 (patch) | |
tree | f41d3ac2559c624a132fa74e3334ccbc5cfd1ceb /docs/SkBitmap_Reference.bmh | |
parent | bb091a08d1c60ccf3d014d94490c5b4134586ee2 (diff) |
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 <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs/SkBitmap_Reference.bmh')
-rw-r--r-- | docs/SkBitmap_Reference.bmh | 32 |
1 files changed, 16 insertions, 16 deletions
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 ## ## |