From 338029608024c1c735e4d351aec7ed3319c5f0b4 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 4 Apr 2011 18:19:29 +0000 Subject: [PATCH] temporarily disable fast stroking, until we handle non-square scales in matrix git-svn-id: http://skia.googlecode.com/svn/trunk@1047 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkDraw.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index 68a0e4d76a..4595fdf326 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -680,8 +680,14 @@ static inline SkPoint* as_rightbottom(SkRect* r) { } static bool easy_rect_join(const SkPaint& paint) { +#if 0 return SkPaint::kMiter_Join == paint.getStrokeJoin() && paint.getStrokeMiter() >= SK_ScalarSqrt2; +#else + // return false until we handle non-square scaling in the matrix, where + // the horizontal and vertical widths may differ. + return false; +#endif } enum RectType {