aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRect.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-04 20:57:36 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-04 20:57:36 +0000
commit84e922bfb3e7a03f6e35beb2f1e4f2657e7cd3e9 (patch)
treee57c3c2c12fd8da316c8ee01f0eae00b346f6130 /include/core/SkRect.h
parentd48c16b2ff83a78f71870ce86002a545a4513b3c (diff)
Revert "speed up A8 by creating a new entry-point in SkDraw that blits the path's coverage directly into an A8 target, regardless of the previous pixel values."
This reverts commit d615e839b71f75df895de6850b774a9e1c28ad2a. Revert "must initialize SkDraw.fClip" This reverts commit 108e46d29b5f57927fc8b8c403bb52019d8cb16d. BUG= Review URL: https://codereview.chromium.org/57883006 git-svn-id: http://skia.googlecode.com/svn/trunk@12122 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkRect.h')
-rw-r--r--include/core/SkRect.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/core/SkRect.h b/include/core/SkRect.h
index 8bfa57a8f9..98acb1cda3 100644
--- a/include/core/SkRect.h
+++ b/include/core/SkRect.h
@@ -730,7 +730,7 @@ struct SK_API SkRect {
/**
* Set the dst rectangle by rounding this rectangle's coordinates to their
- * nearest integer values using SkScalarRoundToInt.
+ * nearest integer values using SkScalarRound.
*/
void round(SkIRect* dst) const {
SkASSERT(dst);
@@ -772,15 +772,6 @@ struct SK_API SkRect {
SkScalarFloorToInt(fRight), SkScalarFloorToInt(fBottom));
}
- /**
- * Return a new SkIRect which is contains the rounded coordinates of this
- * rect using SkScalarRoundToInt.
- */
- SkIRect round() const {
- SkIRect ir;
- this->round(&ir);
- return ir;
- }
/**
* Swap top/bottom or left/right if there are flipped (i.e. if width()