diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index b122c4f93e..0256f3bbd2 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -689,6 +689,8 @@ static bool easy_rect_join(const SkPaint& paint, const SkMatrix& matrix, SkASSERT(matrix.rectStaysRect()); SkPoint pt = { paint.getStrokeWidth(), paint.getStrokeWidth() }; matrix.mapVectors(strokeSize, &pt, 1); + strokeSize->fX = SkScalarAbs(strokeSize->fX); + strokeSize->fY = SkScalarAbs(strokeSize->fY); return true; }