aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRect.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkRect.h')
-rw-r--r--include/core/SkRect.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/core/SkRect.h b/include/core/SkRect.h
index 9f3b59a38f..d0eaac40e4 100644
--- a/include/core/SkRect.h
+++ b/include/core/SkRect.h
@@ -466,8 +466,9 @@ struct SK_API SkRect {
return !SkScalarsEqual((SkScalar*)&a, (SkScalar*)&b, 4);
}
- /** return the 4 points that enclose the rectangle
- */
+ /** return the 4 points that enclose the rectangle (top-left, top-right, bottom-right,
+ bottom-left). TODO: Consider adding param to control whether quad is CW or CCW.
+ */
void toQuad(SkPoint quad[4]) const;
/** Set this rectangle to the empty rectangle (0,0,0,0)