Index: include/core/SkRect.h |
diff --git a/include/core/SkRect.h b/include/core/SkRect.h |
index 9f3b59a38f7a29936de4dc0c9cc4564ae3472278..d0eaac40e4940c6095c015540b08553452493d82 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) |