14 Commits

Author SHA1 Message Date
k1w1
a61b048f3d Test for scale/translate/rotate. Currently failing 2022-08-28 10:19:31 -07:00
k1w1
7f59355b0a Support independent paths 2022-08-22 16:53:26 -07:00
Chris Waters
67d5dfd52e
Merge pull request #4 from aha-app/issue-scale-lineWidth
Apply to scale to lineWidth.
2022-07-17 20:14:35 -07:00
Chris Waters
f09378a7a9
Merge pull request #3 from aha-app/issue-ellipse-translate-problem
Issue ellipse translate problem
2022-07-17 20:13:57 -07: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
6e7449a639 Fixed problem when rotation is applied 2022-07-17 09:55:39 -07:00
k1w1
c64d8283d4 Fix a problem with ellipse drawing if at translation is applied. 2022-07-17 09:06:40 -07:00
Chris Waters
95702efae3
Merge pull request #2 from aha-app/issue-arc-scaling
Fix rendering of arcTo when a scale is applied
2022-07-15 17:58:53 -07:00
k1w1
6c209fccdf Add support for ellipses 2022-07-15 17:47:47 -07: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
Zeno Zeng
298cb72b74 test: update text test 2022-03-09 22:58:22 +08: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