Revert "avoid AntiFrameRect when strokeSize is too small. Workaround for skbug/1368"

This reverts commit b70c77bb33495b5956550b39d479cf9b911d6114.

git-svn-id: http://skia.googlecode.com/svn/trunk@9762 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-06-26 00:17:41 +00:00
parent 056ae7cec3
commit 81e3412ebf

View File

@ -853,11 +853,6 @@ void SkDraw::drawRect(const SkRect& rect, const SkPaint& paint) const {
SkPoint strokeSize;
RectType rtype = ComputeRectType(paint, *fMatrix, &strokeSize);
// work-around bug in antiframerect when strokesize is < 1
if (strokeSize.fX < SK_Scalar1 || strokeSize.fY < SK_Scalar1) {
rtype = kPath_RectType;
}
if (kPath_RectType == rtype) {
SkPath tmp;
tmp.addRect(rect);