diff options
author | Cary Clark <caryclark@skia.org> | 2018-07-13 08:21:59 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-13 14:23:24 +0000 |
commit | 7651c1611e6c158545d0d96b77a61418aec3939c (patch) | |
tree | 0069b45909d6aae6fffc4607b62e00e1eea8bacd /include/core/SkBitmap.h | |
parent | 390495eb8d0672cd0e2346b593a17aac0b297ae9 (diff) |
refresh generated includes
the newest ones (SkBlendMode.h, SkPicture.h, SkRRect.h)
need additional editing; enough has changed that it is
time to refresh anyway.
TBR=reed@google.com
Docs-Preview: https://skia.org/?cl=141043
Bug: skia:6818
Change-Id: Ic123b02f57005a087f8655cafa1a2537529beca5
Reviewed-on: https://skia-review.googlesource.com/141043
Commit-Queue: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r-- | include/core/SkBitmap.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h index bc29151a24..521bb77ac8 100644 --- a/include/core/SkBitmap.h +++ b/include/core/SkBitmap.h @@ -6,7 +6,7 @@ */ /* Generated by tools/bookmaker from include/core/SkBitmap.h and docs/SkBitmap_Reference.bmh - on 2018-06-08 11:48:28. Additional documentation and examples can be found at: + on 2018-07-13 08:15:10. Additional documentation and examples can be found at: https://skia.org/user/api/SkBitmap_Reference You may edit either file directly. Structural changes to public interfaces require @@ -125,7 +125,7 @@ public: /** Returns pixel count in each row. Should be equal or less than: rowBytes() / info().bytesPerPixel(). - Maybe be less than pixelRef().width(). Will not exceed pixelRef().width() less + May be less than pixelRef().width(). Will not exceed pixelRef().width() less pixelRefOrigin().fX. @return pixel width in SkImageInfo @@ -207,7 +207,7 @@ public: */ bool empty() const { return fPixmap.info().isEmpty(); } - /** Return true if SkPixelRef is nullptr. + /** Returns true if SkPixelRef is nullptr. Does not check if width() or height() are zero; call drawsNothing() to check width(), height(), and SkPixelRef. @@ -216,7 +216,7 @@ public: */ bool isNull() const { return nullptr == fPixelRef; } - /** Return true if width() or height() are zero, or if SkPixelRef is nullptr. + /** Returns true if width() or height() are zero, or if SkPixelRef is nullptr. If true, SkBitmap has no effect when drawn or drawn into. @return true if drawing has no effect @@ -310,8 +310,8 @@ public: return SkAlphaTypeIsOpaque(this->alphaType()); } - /** If true, provides a hint to caller that pixels should not - be cached. Only true if setIsVolatile() has been called to mark as volatile. + /** Provides a hint to caller that pixels should not be cached. Only true if + setIsVolatile() has been called to mark as volatile. Volatile state is not shared by other bitmaps sharing the same SkPixelRef. @@ -1134,7 +1134,7 @@ public: bool writePixels(const SkPixmap& src, int x, int y, SkTransferFunctionBehavior behavior); #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK - /** Android framework only. + /** For use by Android framework only. @return true if setHasHardwareMipMap() has been called with true */ @@ -1142,7 +1142,7 @@ public: return (fFlags & kHasHardwareMipMap_Flag) != 0; } - /** Android framework only. + /** For use by Android framework only. @param hasHardwareMipMap sets state */ |