From c4d651ec8a8c190c5df173166357c2fdf47472ce Mon Sep 17 00:00:00 2001 From: ztenghui Date: Wed, 6 Aug 2014 13:03:18 -0700 Subject: [PATCH] MiterLimit represent a ratio itself, no need to scale Change-Id: I474d8c29fc28786c6b3ff88848c1c802ab76d77c --- graphics/java/android/graphics/drawable/VectorDrawable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/java/android/graphics/drawable/VectorDrawable.java b/graphics/java/android/graphics/drawable/VectorDrawable.java index d5ffa588daaaa..03d232601d36b 100644 --- a/graphics/java/android/graphics/drawable/VectorDrawable.java +++ b/graphics/java/android/graphics/drawable/VectorDrawable.java @@ -883,7 +883,7 @@ public class VectorDrawable extends Drawable { strokePaint.setStrokeCap(fullPath.mStrokeLineCap); } - strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit * minScale); + strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit); strokePaint.setColor(applyAlpha(fullPath.mStrokeColor, stackedAlpha)); strokePaint.setStrokeWidth(fullPath.mStrokeWidth * minScale);