aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRect.h
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-06-14 13:21:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-14 18:02:37 +0000
commitca6a2454b8ebc191783cff1f47198d6c0ce8c2a8 (patch)
tree4f3379a83143d2cebcb95fa10404e2e316054d91 /include/core/SkRect.h
parentcf274da6faa9d32e08053180c8113fcaab666028 (diff)
refresh generated includes
Found some bookmaker bugs that were suppressing spelling errors and syntax errors. TBR=reed@google.com Bug: skia:6898 Change-Id: Ie7331dd03723d987cb2df46018a984f42d0ee518 Reviewed-on: https://skia-review.googlesource.com/134942 Reviewed-by: Cary Clark <caryclark@skia.org> Commit-Queue: Cary Clark <caryclark@skia.org> Auto-Submit: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'include/core/SkRect.h')
-rw-r--r--include/core/SkRect.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/include/core/SkRect.h b/include/core/SkRect.h
index 363ecdd53c..b33b0b9ac9 100644
--- a/include/core/SkRect.h
+++ b/include/core/SkRect.h
@@ -6,7 +6,7 @@
*/
/* Generated by tools/bookmaker from include/core/SkRect.h and docs/SkRect_Reference.bmh
- on 2018-06-08 11:48:28. Additional documentation and examples can be found at:
+ on 2018-06-14 13:13:34. Additional documentation and examples can be found at:
https://skia.org/user/api/SkRect_Reference
You may edit either file directly. Structural changes to public interfaces require
@@ -290,7 +290,7 @@ struct SK_API SkIRect {
@param dx offset added to fLeft and fRight
@param dy offset added to fTop and fBottom
- @return SkIRect offset in x or y, with original width and height
+ @return SkIRect offset by dx and dy, with original width and height
*/
SkIRect makeOffset(int32_t dx, int32_t dy) const {
return {
@@ -451,10 +451,10 @@ struct SK_API SkIRect {
Returns true if SkIRect contains construction.
Returns false if SkIRect is empty or construction is empty.
- @param left x minimum of constructed SkIRect
- @param top y minimum of constructed SkIRect
- @param right x maximum of constructed SkIRect
- @param bottom y maximum of constructed SkIRect
+ @param left x-axis minimum of constructed SkIRect
+ @param top y-axis minimum of constructed SkIRect
+ @param right x-axis maximum of constructed SkIRect
+ @param bottom y-axis maximum of constructed SkIRect
@return true if all sides of SkIRect are outside construction
*/
bool contains(int32_t left, int32_t top, int32_t right, int32_t bottom) const {
@@ -495,10 +495,10 @@ struct SK_API SkIRect {
Return is undefined if SkIRect is empty or construction is empty.
- @param left x minimum of constructed SkIRect
- @param top y minimum of constructed SkIRect
- @param right x maximum of constructed SkIRect
- @param bottom y maximum of constructed SkIRect
+ @param left x-axis minimum of constructed SkIRect
+ @param top y-axis minimum of constructed SkIRect
+ @param right x-axis maximum of constructed SkIRect
+ @param bottom y-axis maximum of constructed SkIRect
@return true if all sides of SkIRect are outside construction
*/
bool containsNoEmptyCheck(int32_t left, int32_t top,
@@ -582,10 +582,10 @@ struct SK_API SkIRect {
Returns false if either construction or SkIRect is empty, leaving SkIRect unchanged.
- @param left x minimum of constructed SkIRect
- @param top y minimum of constructed SkIRect
- @param right x maximum of constructed SkIRect
- @param bottom y maximum of constructed SkIRect
+ @param left x-axis minimum of constructed SkIRect
+ @param top y-axis minimum of constructed SkIRect
+ @param right x-axis maximum of constructed SkIRect
+ @param bottom y-axis maximum of constructed SkIRect
@return true if construction and SkIRect have area in common
*/
bool intersect(int32_t left, int32_t top, int32_t right, int32_t bottom) {
@@ -624,10 +624,10 @@ struct SK_API SkIRect {
Has no effect if construction is empty. Otherwise, if SkIRect is empty, sets
SkIRect to construction.
- @param left x minimum of constructed SkIRect
- @param top y minimum of constructed SkIRect
- @param right x maximum of constructed SkIRect
- @param bottom y maximum of constructed SkIRect
+ @param left x-axis minimum of constructed SkIRect
+ @param top y-axis minimum of constructed SkIRect
+ @param right x-axis maximum of constructed SkIRect
+ @param bottom y-axis maximum of constructed SkIRect
*/
void join(int32_t left, int32_t top, int32_t right, int32_t bottom);
@@ -1143,7 +1143,7 @@ struct SK_API SkRect {
@param dx added to fLeft and fRight
@param dy added to fTop and fBottom
- @return SkRect offset in x or y, with original width and height
+ @return SkRect offset on axes, with original width and height
*/
SkRect makeOffset(SkScalar dx, SkScalar dy) const {
return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy);
@@ -1270,10 +1270,10 @@ struct SK_API SkRect {
Returns false if either construction or SkRect is empty, leaving SkRect unchanged.
- @param left x minimum of constructed SkRect
- @param top y minimum of constructed SkRect
- @param right x maximum of constructed SkRect
- @param bottom y maximum of constructed SkRect
+ @param left x-axis minimum of constructed SkRect
+ @param top y-axis minimum of constructed SkRect
+ @param right x-axis maximum of constructed SkRect
+ @param bottom y-axis maximum of constructed SkRect
@return true if construction and SkRect have area in common
*/
bool intersect(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom);
@@ -1308,10 +1308,10 @@ public:
Returns true if SkRect intersects construction.
Returns false if either construction or SkRect is empty, or do not intersect.
- @param left x minimum of constructed SkRect
- @param top y minimum of constructed SkRect
- @param right x maximum of constructed SkRect
- @param bottom y maximum of constructed SkRect
+ @param left x-axis minimum of constructed SkRect
+ @param top y-axis minimum of constructed SkRect
+ @param right x-axis maximum of constructed SkRect
+ @param bottom y-axis maximum of constructed SkRect
@return true if construction and SkRect have area in common
*/
bool intersects(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) const {
@@ -1349,10 +1349,10 @@ public:
Has no effect if construction is empty. Otherwise, if SkRect is empty, sets
SkRect to construction.
- @param left x minimum of constructed SkRect
- @param top y minimum of constructed SkRect
- @param right x maximum of constructed SkRect
- @param bottom y maximum of constructed SkRect
+ @param left x-axis minimum of constructed SkRect
+ @param top y-axis minimum of constructed SkRect
+ @param right x-axis maximum of constructed SkRect
+ @param bottom y-axis maximum of constructed SkRect
*/
void join(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom);