9 Commits

Author SHA1 Message Date
Zeno Zeng
6bbbbc0bb5
Merge pull request #21 from aha-app/issue-scale-lineWidth
Scale lineWidth
2022-08-03 23:38:04 +08:00
Zeno Zeng
b54e855632
Merge pull request #19 from aha-app/issue-ellipse-translate-problem
Ellipse translate and rotate problem
2022-08-03 23:35:49 +08:00
k1w1
87d8a34ed6 Apply to scale to lineWidth.
This will only work if scaling is proportional, i.e. X and Y axes are scaled the same.
2022-07-17 11:08:10 -07:00
k1w1
c64d8283d4 Fix a problem with ellipse drawing if at translation is applied. 2022-07-17 09:06:40 -07:00
Zeno Zeng
b4af606473
Merge pull request #18 from aha-app/feature-add-ellipse
Add ellipse support
2022-07-17 15:42:37 +08:00
k1w1
f4b7ece357 Add ellipse function
Based on code in this PR https://github.com/gliffy/canvas2svg/pull/36
2022-07-14 20:36:39 -07:00
k1w1
e8f9ca5f35 Fix rendering of arcTo when a scale is applied 2022-07-14 20:09:24 -07:00
Xavier Delamotte
f8d0aa06c0 Fix adding CanvasPattern
The current code was going into an infinite loop
It's also setting `patternUnits` to `userSpaceOnUse` in order to get the same behaviour as canvas patterns
2021-11-10 16:48:00 +00:00
Zeno Zeng
e0804a60cd update tests 2021-06-10 20:39:16 +08:00