diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-05 18:27:23 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-05 18:27:23 +0000 |
commit | 9b6a185e36f3145aa53732e8fb30c870ff38a93c (patch) | |
tree | e915879ecb830d3b80dfc9167ddfef808c9d985a /include/core/SkMatrix.h | |
parent | 7ee12ca99f4ac0aadb8c4d29ae793c411faf73db (diff) |
Revert "Add blend optimization helpers and use to convert rect draws to clears."
This reverts commit r10537.
git-svn-id: http://skia.googlecode.com/svn/trunk@10542 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkMatrix.h')
-rw-r--r-- | include/core/SkMatrix.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h index 71e6b9737b..f148e390b5 100644 --- a/include/core/SkMatrix.h +++ b/include/core/SkMatrix.h @@ -470,18 +470,6 @@ public: return this->mapRect(rect, *rect); } - /** Apply this matrix to the src rectangle, and write the four transformed - points into dst. The points written to dst will be the original top-left, top-right, - bottom-right, and bottom-left points transformed by the matrix. - @param dst Where the transformed quad is written. - @param rect The original rectangle to be transformed. - */ - void mapRectToQuad(SkPoint dst[4], const SkRect& rect) const { - // This could potentially be faster if we only transformed each x and y of the rect once. - rect.toQuad(dst); - this->mapPoints(dst, 4); - } - /** Return the mean radius of a circle after it has been mapped by this matrix. NOTE: in perspective this value assumes the circle has its center at the origin. |