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
This commit is contained in:
reed@google.com 2011-04-04 18:19:29 +00:00
parent 5e76223ca7
commit 3380296080

View File

@ -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 {