aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkBitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r--include/core/SkBitmap.h16
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
*/