214 Commits

Author SHA1 Message Date
Conrad Irwin
4aa7a90586 +bower.json 2015-09-09 10:59:13 -07:00
Conrad Irwin
273fd09ca7 document using with node.js 2015-09-09 00:37:10 -07:00
Conrad Irwin
c1cb3c284e Add a test for using a custom document 2015-09-09 00:29:04 -07:00
Conrad Irwin
2a8c062588 Add a test for empty arcs 2015-09-09 00:19:54 -07:00
Conrad Irwin
39e081b711 Make canvas2svg work with jsdom 2015-09-05 15:50:20 -07:00
Conrad Irwin
d3b5e999c8 export as a common js module
Useful for people wanting to use browserify/webpack
2015-09-05 14:11:49 -07:00
Conrad Irwin
8d5249760a Don't draw invisible circles 2015-09-05 00:03:43 -07:00
clintjd
bb2aac32e0 Update canvas2svg.js 2015-06-18 17:11:13 -07:00
clintjd
e356e21d80 updated image url to build and added 1.0.15 info 2015-06-18 17:07:08 -07:00
clintjd
ff0fcb3f00 Merge pull request #28 from gwwar/master
Setup travis, add testharness and debug playground, and fix regression for __createElement refactor
2015-06-18 17:02:18 -07:00
kerryliu
92ea35cc87 port unit tests to mocha and chai, add img diff example tests, add debug playground, setup travis 2015-06-16 19:16:12 -07:00
clintjd
715ce44acd bumped version to 1.0.13 2015-06-16 15:13:33 -07:00
clintjd
a90669c32b bumped version to 1.0.13
set paint order before stroke and fill to make them behavior like canvas
2015-06-16 15:13:16 -07:00
clintjd
9ed0b82b57 Merge pull request #26 from zenozeng/paint-order
set paint order before stroke and fill to make them behavior like canvas
2015-06-16 15:11:33 -07:00
clintjd
a6b9563c9c Update canvas2svg.js 2015-06-16 15:08:34 -07:00
clintjd
7a2a4fcaaa Update README.md 2015-06-16 15:08:17 -07:00
clintjd
5d82d36034 Merge pull request #25 from zenozeng/ctx.arcTo
implementation of ctx.prototype.arcTo
2015-06-16 15:07:21 -07:00
clintjd
ce3e19f7f7 Update canvas2svg.js 2015-06-15 17:26:54 -07:00
clintjd
3a04092920 Update README.md 2015-06-15 17:26:31 -07:00
clintjd
b55d2b10b5 Merge pull request #24 from zenozeng/master
call lineTo instead moveTo in ctx.arc, fixes closePath issue and straight line issue
2015-06-15 16:55:14 -07:00
Zeno Zeng
36dc5f3cd3 set paint order before stroke and fill to make them behavior like canvas 2015-06-10 15:19:57 +08:00
Zeno Zeng
97f65bc9e7 implementation of ctx.prototype.arcTo 2015-06-08 17:59:28 +08:00
Zeno Zeng
b7223338f9 call lineTo instead moveTo in ctx.arc 2015-06-08 17:37:46 +08:00
clintjd
66f9cef410 bumped version to 1.0.10 2015-06-02 11:11:36 -07:00
clintjd
5de71a7840 bumped version to 1.0.10 2015-06-02 11:10:42 -07:00
clintjd
32b567c325 Merge pull request #22 from zenozeng/lineto-pr
when lineTo called, use M instead of L unless subpath exists
2015-06-02 11:09:42 -07:00
Zeno Zeng
f5b2692a88 when lineTo called, use M instead of L unless subpath exists 2015-05-30 08:54:10 +08:00
clintjd
a186bb9a95 bumped version to 1.0.9 2015-05-29 10:26:44 -07:00
clintjd
4bb5ac4d6f bumped version to 1.0.9 2015-05-29 10:25:53 -07:00
clintjd
bc53ac50ef Merge pull request #20 from zenozeng/master
use currentDefaultPath instead of <path>'s d attribute, fixes stroke's different behavior in SVG and canvas.
2015-05-29 10:24:43 -07:00
Zeno Zeng
696568b1a9 use currentDefaultPath instead of <path>'s d attribute, fixes stroke's different behavior in SVG and canvas. 2015-05-23 23:21:59 +08:00
clintjd
fb76823d70 Update canvas2svg.js 2015-05-21 15:16:53 -07:00
clintjd
955d5a2790 Update README.md 2015-05-21 15:11:30 -07:00
clintjd
0252a048b0 Merge pull request #18 from zenozeng/master
reuse __createElement
2015-05-21 15:11:00 -07:00
Zeno Zeng
b9ad47c4f0 reuse __createElement 2015-05-19 16:52:31 +08:00
clintjd
b7f5a1acde Merge pull request #17 from gwwar/master
fixes #16
2015-04-28 11:48:03 -07:00
kerryliu
eb2683b96b fixes #16 2015-04-25 13:18:54 -07:00
clintjd
4290be85d0 Merge pull request #15 from stafyniaksacha/master
Parsing all text font properties
2015-04-22 13:17:16 -07:00
STAFYNIAK
1f8e4bf171 Update canvas2svg.js 2015-03-12 20:54:38 +01:00
STAFYNIAK
bba650de98 Update canvas2svg.js
update the __parseFont for parsing all css font values
2015-03-12 20:52:14 +01:00
kerryliu
16384e302c added tests for text baseline 2014-09-20 16:01:08 -07:00
Luca Béla Palkovics
0393936d0e Update canvas2svg.js
Changed default to alphabetic
2014-09-17 15:05:19 +02:00
Luca Béla Palkovics
d9834027c5 Added Support for testBaseline 2014-09-16 20:21:13 +02:00
Luca Béla Palkovics
a8203ee337 Merge pull request #4 from gliffy/master
Newest
2014-09-16 20:20:00 +02:00
Kerry Liu
f88a4cf487 Merge pull request #8 from KoKuToru/fix2
Correct measureText
2014-09-14 10:12:14 -07:00
kerryliu
d984cf76e7 add unit tests for new textalign support, update readme 2014-09-14 09:42:26 -07:00
kerryliu
10ee28b502 Merge branch 'fix' of https://github.com/KoKuToru/canvas2svg 2014-09-14 09:14:05 -07:00
kerryliu
ffc017bfe2 fixes #6 2014-09-14 09:11:03 -07:00
Luca Béla Palkovics
519231b78a Correct measureText
set `font` of `__ctx` before `measureText`.
2014-09-14 09:58:46 +02:00
Luca Béla Palkovics
39e147def7 Update canvas2svg.js
Added Helper function.
2014-09-14 09:38:54 +02:00