Zeno Zeng
35b9c08c5f
refactor
2022-02-04 10:05:16 +08:00
Zeno Zeng
bc805cfb63
fix typo & rollup 2.67.0
2022-02-03 12:12:35 +08:00
Zeno Zeng
f65d64aa53
utils.toString for https://github.com/zenozeng/p5.js-svg/issues/204
2022-02-03 12:05:24 +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
6c2f72d30a
fix: push/pop transformMatrixStack when save/restore, for https://github.com/zenozeng/p5.js-svg/issues/191
2021-07-07 00:07:55 +08:00
Zeno Zeng
3e7435eec8
feat: sync element's width and height to context
2021-06-14 21:45:27 +08:00
Zeno Zeng
b6ef900d21
chore: esm
2021-06-10 19:36:00 +08:00
Zeno Zeng
c60ed4e64b
bump version to 2.0.1
2021-06-06 15:46:13 +08:00
Zeno Zeng
4b21c73183
bump version to 2.0.0
2021-06-06 14:21:35 +08:00
Zeno Zeng
3d96ae9391
fix: recreate root <g> when __clearCanvas to remove all attributes
2021-06-06 01:30:40 +08:00
Zeno Zeng
bcdc8df943
feat: clearCanvas in fillRect
2021-06-05 23:22:57 +08:00
Zeno Zeng
802d0614ce
feat: element api
2021-06-05 15:56:16 +08:00