From 652807bbc8c57e5fa9622126b51fd369f5c67935 Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" <agl@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> Date: Tue, 27 Apr 2010 15:47:34 +0000 Subject: Revert "Revert "Use hairline when line width <= 1.0, instead of < 1.0."" This reverts commit r560. Chromium has landed at r560, so I'm applying the revert-revert. (See the comments in r560 for details.) git-svn-id: http://skia.googlecode.com/svn/trunk@561 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkDraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index 45b4c356f4..b3ce8139a5 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -789,7 +789,7 @@ static bool map_radius(const SkMatrix& matrix, SkScalar* value) { matrix.mapVectors(dst, src, 2); SkScalar len0 = fast_len(dst[0]); SkScalar len1 = fast_len(dst[1]); - if (len0 < SK_Scalar1 && len1 < SK_Scalar1) { + if (len0 <= SK_Scalar1 && len1 <= SK_Scalar1) { *value = SkScalarAve(len0, len1); return true; } -- cgit v1.2.3