Commit Graph

  • ef5c949d85 Add stub method for isPointInStroke main Evert Prants 2025-03-09 13:00:07 +02:00
  • 89b592c6ac remove non-scaling stroke Evert Prants 2025-03-09 12:04:04 +02:00
  • bfdb436390 Types additions Evert Prants 2025-03-09 11:09:26 +02:00
  • da1c70ae6d Types additions Evert Prants 2025-03-09 11:06:03 +02:00
  • 28a92fa908 Types additions Evert Prants 2025-03-09 10:52:24 +02:00
  • 45447cac9e Types additions Evert Prants 2025-03-09 10:51:22 +02:00
  • b754f84f7f Package test Evert Prants 2025-03-09 10:42:26 +02:00
  • e0c8dda4a9 Update deps, typescript declarations Evert Prants 2025-03-09 10:37:06 +02:00
  • 5732329f38 Merge branch 'issue-fill-path' Evert Prants 2025-03-09 10:10:02 +02:00
  • 802db35f61 fork Evert Prants 2025-03-09 10:08:51 +02:00
  • 2e5bd80cdb Add hack to prevent incorrectly scaled stroke k1w1 2024-04-18 17:02:55 -07:00
  • 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. k1w1 2024-04-18 13:26:13 -07:00
  • 6b61934191 Added note about active branch k1w1 2023-12-29 08:33:24 -08:00
  • cc6973fa1c Added note about active branch k1w1 2023-12-29 08:33:08 -08:00
  • 130fe48f8e Added roundRect support k1w1 2023-12-22 19:54:13 -08:00
  • 9d7c7bae3e Fixed arcTo implementation. Previously it only worked in the orientation in the test, but not for lines curving in other directions. k1w1 2023-03-09 17:15:52 -08:00
  • 7fe0aeaaea Force all images to be inline bitmaps. Otherwise the SVGs we generate can't be opened by editing tools like Figma. k1w1 2022-12-29 15:30:59 -08:00
  • 4f7bcfec4c Fixed clipping behavior and handling of save/restore around stroke and fill. k1w1 2022-12-24 14:49:29 -08:00
  • fd024674c0 Added clipping test k1w1 2022-12-24 14:15:14 -08:00
  • f3cac336d2 Built for npm k1w1 2022-12-24 11:39:58 -08:00
  • f43ff8ba15 Apply transform to paths k1w1 2022-09-05 12:35:47 -07:00
  • a61b048f3d Test for scale/translate/rotate. Currently failing k1w1 2022-08-28 10:19:31 -07:00
  • 127009ad7b Merge branch 'main' into issue-fill-path k1w1 2022-08-22 16:57:38 -07:00
  • 722bb9c713
    Merge pull request #5 from zenozeng/main Chris Waters 2022-08-22 16:56:48 -07:00
  • 7f59355b0a Support independent paths k1w1 2022-08-22 16:53:26 -07:00
  • 71a4038b4e
    bump version to 2.5.0 Zeno Zeng 2022-08-03 23:39:05 +08:00
  • 6a910dadea
    docs: update CHANGELOG for #19, for #21 Zeno Zeng 2022-08-03 23:38:37 +08:00
  • 6bbbbc0bb5
    Merge pull request #21 from aha-app/issue-scale-lineWidth Zeno Zeng 2022-08-03 23:38:04 +08:00
  • b54e855632
    Merge pull request #19 from aha-app/issue-ellipse-translate-problem Zeno Zeng 2022-08-03 23:35:49 +08:00
  • 67d5dfd52e
    Merge pull request #4 from aha-app/issue-scale-lineWidth Chris Waters 2022-07-17 20:14:35 -07:00
  • f09378a7a9
    Merge pull request #3 from aha-app/issue-ellipse-translate-problem Chris Waters 2022-07-17 20:13:57 -07:00
  • 87d8a34ed6 Apply to scale to lineWidth. This will only work if scaling is proportional, i.e. X and Y axes are scaled the same. k1w1 2022-07-17 11:08:10 -07:00
  • 6e7449a639 Fixed problem when rotation is applied k1w1 2022-07-17 09:55:39 -07:00
  • c64d8283d4 Fix a problem with ellipse drawing if at translation is applied. k1w1 2022-07-17 09:06:40 -07:00
  • ac69463e8c bump version to v2.4.0, fixes #16 Zeno Zeng 2022-07-17 15:46:18 +08:00
  • b4af606473
    Merge pull request #18 from aha-app/feature-add-ellipse Zeno Zeng 2022-07-17 15:42:37 +08:00
  • 135c9c358a
    Merge pull request #17 from aha-app/issue-arc-scaling Zeno Zeng 2022-07-17 15:42:06 +08:00
  • 95702efae3
    Merge pull request #2 from aha-app/issue-arc-scaling Chris Waters 2022-07-15 17:58:53 -07:00
  • c4fe5203a1
    Merge pull request #1 from aha-app/feature-add-ellipse Chris Waters 2022-07-15 17:57:55 -07:00
  • 6c209fccdf Add support for ellipses k1w1 2022-07-15 17:47:47 -07:00
  • f4b7ece357 Add ellipse function Based on code in this PR https://github.com/gliffy/canvas2svg/pull/36 k1w1 2022-07-14 20:36:39 -07:00
  • e8f9ca5f35 Fix rendering of arcTo when a scale is applied k1w1 2022-07-14 20:09:24 -07:00
  • 1b44f090e5
    Merge pull request #15 from Validark/patch-3 Zeno Zeng 2022-04-10 14:41:37 +08:00
  • 9ad91ad969
    Add support for tagName property Validark 2022-04-07 18:23:24 -05:00
  • b01fb23995 chore: bump version to 2.3.0 Zeno Zeng 2022-03-09 23:07:08 +08:00
  • 3573673b60
    Merge pull request #11 from Validark/main Zeno Zeng 2022-03-09 23:00:52 +08:00
  • 519719ef2d
    Merge pull request #14 from zenozeng/test Zeno Zeng 2022-03-09 22:59:58 +08:00
  • 298cb72b74 test: update text test Zeno Zeng 2022-03-09 22:58:22 +08:00
  • 8f27fe0974 test: set width & height Zeno Zeng 2022-03-09 22:49:40 +08:00
  • c192c00864 test: diff pixels Zeno Zeng 2022-03-09 22:33:31 +08:00
  • bd26732bff chore: update ci Zeno Zeng 2022-03-09 21:52:38 +08:00
  • 6bffaccd60 test: init Zeno Zeng 2022-03-09 21:50:14 +08:00
  • 2db9be5664
    Merge pull request #10 from Validark/patch-2 Zeno Zeng 2022-03-09 21:01:23 +08:00
  • 65a27be683
    Merge pull request #9 from Validark/patch-1 Zeno Zeng 2022-03-09 19:50:17 +08:00
  • 8a221b2d6f Use browser's built-in font parser Validark 2022-03-07 06:33:37 -07:00
  • d7e5bd071d
    Update Regular Expression to handle decimal values Validark 2022-03-07 06:06:44 -06:00
  • 4c26d48c79
    Update README.md Validark 2022-03-07 05:57:46 -06:00
  • 3427480ed3
    bump version to 2.2.2 Zeno Zeng 2022-03-01 21:02:04 +08:00
  • 79786a8849
    update CHANGELOG for #8 Zeno Zeng 2022-03-01 21:01:29 +08:00
  • dd7a2eb520
    Merge pull request #8 from Validark/patch-1 Zeno Zeng 2022-03-01 20:59:22 +08:00
  • b4dde7078f
    Delegate getAttribute/setAttribute Validark 2022-02-27 06:08:54 -06:00
  • aad3657347 fix(SVGCanvasElement): addEventListener Zeno Zeng 2022-02-04 15:44:00 +08:00
  • 3991b8ee96 feat: Context.prototype.getImageData (experimental), for https://github.com/gliffy/canvas2svg/issues/3, for https://github.com/zenozeng/p5.js-svg/issues/203 Zeno Zeng 2022-02-04 13:50:27 +08:00
  • 5afaf230b7 bump version to 2.1.0 Zeno Zeng 2022-02-04 10:42:43 +08:00
  • 35b9c08c5f refactor Zeno Zeng 2022-02-04 10:05:16 +08:00
  • bc805cfb63 fix typo & rollup 2.67.0 Zeno Zeng 2022-02-03 12:12:35 +08:00
  • f65d64aa53 utils.toString for https://github.com/zenozeng/p5.js-svg/issues/204 Zeno Zeng 2022-02-03 12:05:24 +08:00
  • 31bd280829 Bump version to v2.0.5 Zeno Zeng 2021-11-13 13:52:42 +08:00
  • e23938e640
    Merge pull request #7 from x4d3/main Zeno Zeng 2021-11-13 13:40:51 +08:00
  • f8d0aa06c0 Fix adding CanvasPattern Xavier Delamotte 2021-11-10 16:48:00 +00:00
  • 218b3d3a5b
    Merge pull request #6 from msftenhanceprovenance/patch-1 Zeno Zeng 2021-08-17 23:33:26 +08:00
  • 92016381bf
    Update package.json to include the repository key Microsoft Provenance Contributions 2021-08-17 17:02:10 +08:00
  • 2e49751f64
    docs: update README Zeno Zeng 2021-07-07 00:32:49 +08:00
  • d80d315492 bump version to 2.0.4 Zeno Zeng 2021-07-07 00:08:13 +08:00
  • 6c2f72d30a fix: push/pop transformMatrixStack when save/restore, for https://github.com/zenozeng/p5.js-svg/issues/191 Zeno Zeng 2021-07-07 00:07:55 +08:00
  • c01d698447 bump version to 2.0.3 Zeno Zeng 2021-06-14 21:45:46 +08:00
  • 3e7435eec8 feat: sync element's width and height to context Zeno Zeng 2021-06-14 21:45:27 +08:00
  • 134e9c52cb update docs Zeno Zeng 2021-06-13 23:50:26 +08:00
  • 307e371c7c dist/svgcanvas.esm.js Zeno Zeng 2021-06-13 23:00:28 +08:00
  • e0804a60cd update tests Zeno Zeng 2021-06-10 20:39:09 +08:00
  • b6ef900d21 chore: esm Zeno Zeng 2021-06-10 19:36:00 +08:00
  • c60ed4e64b bump version to 2.0.1 Zeno Zeng 2021-06-06 15:46:13 +08:00
  • 2b05ab203b docs: update README Zeno Zeng 2021-06-06 14:36:27 +08:00
  • 4b21c73183 bump version to 2.0.0 Zeno Zeng 2021-06-06 14:21:35 +08:00
  • 3d96ae9391 fix: recreate root <g> when __clearCanvas to remove all attributes Zeno Zeng 2021-06-06 01:30:40 +08:00
  • bcdc8df943 feat: clearCanvas in fillRect Zeno Zeng 2021-06-05 23:22:57 +08:00
  • 65064ac407 Merge branch 'main' of github.com:zenozeng/svgcanvas Zeno Zeng 2021-06-05 15:56:32 +08:00
  • 802d0614ce feat: element api Zeno Zeng 2021-06-05 15:56:16 +08:00
  • c04dc9e5e7
    Create ci.yml Zeno Zeng 2021-06-05 14:47:01 +08:00
  • 8b9fba1fe7 add package-lock.json Zeno Zeng 2021-06-05 14:44:31 +08:00
  • 6d3c41335a docs: update README Zeno Zeng 2021-06-05 14:44:05 +08:00
  • c0d5b7746d Merge branch 'main' of github.com:zenozeng/canvas2svg Zeno Zeng 2021-06-05 13:25:02 +08:00
  • 1ac7fb84f5 unpkg.com/jquery Zeno Zeng 2021-06-05 13:24:48 +08:00
  • f5790e1362
    Merge pull request #5 from zenozeng/feat-transform Zeno Zeng 2021-06-05 13:23:34 +08:00
  • 91d06bff2e feat: respect transformation matrix in clearRect and drawImage Zeno Zeng 2021-06-05 13:22:53 +08:00
  • 3703af4632 ctx.prototype.__applyTransformation Zeno Zeng 2021-06-04 23:49:08 +08:00
  • d4c59a9c49 feat: rotate & __matrixTransform(x, y) Zeno Zeng 2021-06-04 22:54:18 +08:00
  • 6b1a1573f4 gulp update_examples Zeno Zeng 2021-05-23 15:13:55 +08:00
  • dada4e25b0 test: example/transform Zeno Zeng 2021-05-23 00:58:30 +08:00
  • 95ff64fdbd feat: translate zenozeng 2021-05-04 10:59:54 +00:00