aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDraw.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-04 18:19:29 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-04 18:19:29 +0000
commit338029608024c1c735e4d351aec7ed3319c5f0b4 (patch)
treefa4494f382f20507ed6e91805b27e8c68012ec2d /src/core/SkDraw.cpp
parent5e76223ca7c414758f2e566aaa2407187da129b5 (diff)
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
Diffstat (limited to 'src/core/SkDraw.cpp')
-rw-r--r--src/core/SkDraw.cpp6
1 files changed, 6 insertions, 0 deletions
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 {