32 Commits

Author SHA1 Message Date
clintjd
a6b9563c9c Update canvas2svg.js 2015-06-16 15:08:34 -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
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
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
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
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
Zeno Zeng
b9ad47c4f0 reuse __createElement 2015-05-19 16:52:31 +08:00
kerryliu
eb2683b96b fixes #16 2015-04-25 13:18:54 -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
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
Luca Béla Palkovics
1aa1d69842 resolves #5
Implements textAlign

Signed-off-by: Luca Béla Palkovics <luca.bela.palkovics@gmail.com>
2014-09-13 19:27:19 +02:00
kerryliu
56391060c4 create ids that start with a letter 2014-07-15 13:54:10 -07:00
kerryliu
20cb914014 fixes #4 angle diff should be positive by adding 2PI instead of Math.abs 2014-04-03 20:23:23 -07:00
kerryliu
84ace43af5 error proof against bad yui minification 2014-02-27 16:30:43 -08:00
kerryliu
64cee40038 split up rgba for illustrator import support 2014-02-21 17:16:14 -08:00
kerryliu
f4500ef181 add version 2014-02-15 18:12:21 -08:00
kerryliu
637b02eb4f when called as a function return a new C2S object, don't override toString for easier debugging 2014-02-15 18:04:02 -08:00
kerryliu
59fe2902a2 Add canvas2svg file 2014-01-06 15:41:38 -08:00