Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/memononen/nanosvg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/nanosvgrast.h')
-rw-r--r--src/nanosvgrast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nanosvgrast.h b/src/nanosvgrast.h
index c71d7b4..08db3d9 100644
--- a/src/nanosvgrast.h
+++ b/src/nanosvgrast.h
@@ -732,7 +732,7 @@ static void nsvg__flattenShapeStroke(NSVGrasterizer* r, NSVGshape* shape, float
int i, j, closed;
NSVGpath* path;
NSVGpoint* p0, *p1;
- float miterLimit = 4;
+ float miterLimit = shape->miterLimit;
int lineJoin = shape->strokeLineJoin;
int lineCap = shape->strokeLineCap;
float lineWidth = shape->strokeWidth * scale;