214 Commits

Author SHA1 Message Date
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
Zeno Zeng
3991b8ee96 feat: Context.prototype.getImageData (experimental), for https://github.com/gliffy/canvas2svg/issues/3, for https://github.com/zenozeng/p5.js-svg/issues/203 2022-02-04 13:50:27 +08:00
Zeno Zeng
5afaf230b7 bump version to 2.1.0 2022-02-04 10:42:43 +08:00
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
Zeno Zeng
31bd280829 Bump version to v2.0.5 2021-11-13 13:52:42 +08:00
Zeno Zeng
e23938e640
Merge pull request #7 from x4d3/main
Fix adding CanvasPattern
2021-11-13 13:40:51 +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
218b3d3a5b
Merge pull request #6 from msftenhanceprovenance/patch-1
Update package.json to include the repository key
2021-08-17 23:33:26 +08:00
Microsoft Provenance Contributions
92016381bf
Update package.json to include the repository key
With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources.
We've identified that the following packages published to NPM do not report where sources can be found, typically accomplished by including a link to your GitHub repository in your `package.json` REPOSITORY field. This PR was created to add this value, ensuring future releases will include this provenance information.
Published NPM packages with repository information:
* svgcanvas
2021-08-17 17:02:10 +08:00
Zeno Zeng
2e49751f64
docs: update README 2021-07-07 00:32:49 +08:00
Zeno Zeng
d80d315492 bump version to 2.0.4 2021-07-07 00:08:13 +08: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
c01d698447 bump version to 2.0.3 2021-06-14 21:45:46 +08:00
Zeno Zeng
3e7435eec8 feat: sync element's width and height to context 2021-06-14 21:45:27 +08:00
Zeno Zeng
134e9c52cb update docs 2021-06-13 23:50:26 +08:00
Zeno Zeng
307e371c7c dist/svgcanvas.esm.js 2021-06-13 23:00:28 +08:00
Zeno Zeng
e0804a60cd update tests 2021-06-10 20:39:16 +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
2b05ab203b docs: update README 2021-06-06 14:36:27 +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
65064ac407 Merge branch 'main' of github.com:zenozeng/svgcanvas 2021-06-05 15:56:32 +08:00
Zeno Zeng
802d0614ce feat: element api 2021-06-05 15:56:16 +08:00
Zeno Zeng
c04dc9e5e7
Create ci.yml 2021-06-05 14:47:01 +08:00
Zeno Zeng
8b9fba1fe7 add package-lock.json 2021-06-05 14:44:31 +08:00
Zeno Zeng
6d3c41335a docs: update README 2021-06-05 14:44:05 +08:00
Zeno Zeng
c0d5b7746d Merge branch 'main' of github.com:zenozeng/canvas2svg 2021-06-05 13:25:02 +08:00
Zeno Zeng
1ac7fb84f5 unpkg.com/jquery 2021-06-05 13:24:48 +08:00
Zeno Zeng
f5790e1362
Merge pull request #5 from zenozeng/feat-transform
Feat transform
2021-06-05 13:23:34 +08:00
Zeno Zeng
91d06bff2e feat: respect transformation matrix in clearRect and drawImage 2021-06-05 13:22:53 +08:00
Zeno Zeng
3703af4632 ctx.prototype.__applyTransformation 2021-06-04 23:49:08 +08:00
Zeno Zeng
d4c59a9c49 feat: rotate & __matrixTransform(x, y) 2021-06-04 22:54:18 +08:00
Zeno Zeng
6b1a1573f4 gulp update_examples 2021-05-23 15:13:55 +08:00
Zeno Zeng
dada4e25b0 test: example/transform 2021-05-23 00:58:30 +08:00
zenozeng
95ff64fdbd feat: translate 2021-05-04 10:59:54 +00:00