k1w1
a891b0ad58
Support addPath
properly.
...
However this is not correctly handling the transform. To do it correctly we need to store the sub-paths in the path in their original form (not a string) and apply the transforms at render time.
2024-04-18 13:26:13 -07:00
k1w1
cc6973fa1c
Added note about active branch
2023-12-29 08:33:08 -08:00
k1w1
130fe48f8e
Added roundRect support
2023-12-22 19:54:13 -08:00
k1w1
9d7c7bae3e
Fixed arcTo implementation. Previously it only worked in the orientation in the test, but not for lines curving in other directions.
2023-03-09 17:15:52 -08:00
k1w1
7fe0aeaaea
Force all images to be inline bitmaps.
...
Otherwise the SVGs we generate can't be opened by editing tools like Figma.
2022-12-29 15:30:59 -08:00
k1w1
4f7bcfec4c
Fixed clipping behavior and handling of save/restore around stroke and fill.
2022-12-24 14:49:29 -08:00
k1w1
fd024674c0
Added clipping test
2022-12-24 14:15:14 -08:00
k1w1
f3cac336d2
Built for npm
2022-12-24 11:39:58 -08:00
k1w1
f43ff8ba15
Apply transform to paths
2022-09-05 12:35:47 -07:00
k1w1
a61b048f3d
Test for scale/translate/rotate. Currently failing
2022-08-28 10:19:31 -07:00
k1w1
127009ad7b
Merge branch 'main' into issue-fill-path
2022-08-22 16:57:38 -07:00
Chris Waters
722bb9c713
Merge pull request #5 from zenozeng/main
...
Bring in changes from zenozeng/svgcanvas
2022-08-22 16:56:48 -07:00
k1w1
7f59355b0a
Support independent paths
2022-08-22 16:53:26 -07:00
Zeno Zeng
71a4038b4e
bump version to 2.5.0
2022-08-03 23:39:05 +08:00
Zeno Zeng
6a910dadea
docs: update CHANGELOG for #19 , for #21
2022-08-03 23:38:37 +08:00
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
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
Zeno Zeng
ac69463e8c
bump version to v2.4.0, fixes #16
2022-07-17 15:46:18 +08: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
Zeno Zeng
135c9c358a
Merge pull request #17 from aha-app/issue-arc-scaling
...
Fix rendering of arcTo when a scale is applied
2022-07-17 15:42:06 +08: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
Chris Waters
c4fe5203a1
Merge pull request #1 from aha-app/feature-add-ellipse
...
Feature add ellipse
2022-07-15 17:57:55 -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
1b44f090e5
Merge pull request #15 from Validark/patch-3
...
Add support for tagName property
2022-04-10 14:41:37 +08:00
Validark
9ad91ad969
Add support for tagName property
2022-04-07 18:23:24 -05:00
Zeno Zeng
b01fb23995
chore: bump version to 2.3.0
2022-03-09 23:07:08 +08:00
Zeno Zeng
3573673b60
Merge pull request #11 from Validark/main
...
Use browser's built-in font parser
2022-03-09 23:00:52 +08:00
Zeno Zeng
519719ef2d
Merge pull request #14 from zenozeng/test
...
test: rendering test for svgcanvas
2022-03-09 22:59:58 +08:00
Zeno Zeng
298cb72b74
test: update text test
2022-03-09 22:58:22 +08:00
Zeno Zeng
8f27fe0974
test: set width & height
2022-03-09 22:49:40 +08:00
Zeno Zeng
c192c00864
test: diff pixels
2022-03-09 22:33:31 +08:00
Zeno Zeng
bd26732bff
chore: update ci
2022-03-09 21:52:38 +08:00
Zeno Zeng
6bffaccd60
test: init
2022-03-09 21:50:14 +08:00
Zeno Zeng
2db9be5664
Merge pull request #10 from Validark/patch-2
...
Update Regular Expression to handle decimal values
2022-03-09 21:01:23 +08:00
Zeno Zeng
65a27be683
Merge pull request #9 from Validark/patch-1
...
Update README.md
2022-03-09 19:50:17 +08:00
Validark
8a221b2d6f
Use browser's built-in font parser
2022-03-07 06:33:37 -07:00
Validark
d7e5bd071d
Update Regular Expression to handle decimal values
...
From https://github.com/gliffy/canvas2svg/issues/85
2022-03-07 06:06:44 -06:00
Validark
4c26d48c79
Update README.md
...
Adds a bit more information to the README
2022-03-07 05:57:46 -06:00
Zeno Zeng
3427480ed3
bump version to 2.2.2
2022-03-01 21:02:04 +08:00
Zeno Zeng
79786a8849
update CHANGELOG for #8
2022-03-01 21:01:29 +08:00
Zeno Zeng
dd7a2eb520
Merge pull request #8 from Validark/patch-1
...
Delegate getAttribute/setAttribute
2022-03-01 20:59:22 +08:00
Validark
b4dde7078f
Delegate getAttribute/setAttribute
2022-02-27 06:08:54 -06:00
Zeno Zeng
aad3657347
fix(SVGCanvasElement): addEventListener
2022-02-04 15:44:00 +08:00