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 |
|
zenozeng
|
e1b678502a
|
feat: scale
|
2021-05-03 14:53:46 +00:00 |
|
zenozeng
|
5af6598240
|
feat: resetTransform
|
2021-05-03 14:25:09 +00:00 |
|
zenozeng
|
1ab5658372
|
feat: init transform
|
2021-05-03 13:18:57 +00:00 |
|
Zeno Zeng
|
5de0ab8c24
|
Merge pull request #2 from gliffy/master
Merge v1.0.19
|
2021-04-29 02:05:11 +08:00 |
|
Kris Williams
|
eaab317a36
|
Merge pull request #59 from gliffy/fix-58
Typo - Fixes #58
|
2017-10-17 09:49:42 -07:00 |
|
Kris Williams
|
a0125f30a8
|
Typo - Fixes #58
|
2017-10-17 09:48:21 -07:00 |
|
Tom Kapanka
|
6d09433261
|
Merge pull request #48 from mudcube/master
Fixes for a few errors being thrown
|
2017-06-07 16:59:21 -07:00 |
|
Tom Kapanka
|
6e98c5b66b
|
Merge pull request #46 from LemonPi/wrap_Context2D
Give users the option of wrapping an existing Context2D element
|
2017-06-02 16:15:51 -07:00 |
|
Michael Deal
|
e90927c2fd
|
Change to regular if() statement
|
2017-05-18 22:44:03 -07:00 |
|
Michael Deal
|
49f22cc7a3
|
fix issue with parsing fonts familys that have numbers in their names
|
2017-01-16 15:06:27 -08:00 |
|
Michael Deal
|
f9d5e2b68e
|
fix issue with applying gradient to stroke
|
2017-01-06 16:56:12 -08:00 |
|
Johnson Zhong
|
648fdbd007
|
Give users the option of wrapping an existing Context2D element
|
2016-09-02 13:24:41 +02:00 |
|
Michael Deal
|
214f8f2a1a
|
revert regexp
|
2016-08-13 21:30:06 -07:00 |
|
Michael Deal
|
c7df7fa81e
|
fix issue with mixing transform with path commands
Fixes this case:
var ctx = new C2S()
ctx.save()
ctx.translate(10, 10)
ctx.fillStyle = 'red'
ctx.fillRect(0, 0, 10, 10)
ctx.fillStyle = 'blue'
ctx.fillRect(10, 0, 10, 10)
ctx.fillStyle = 'green'
ctx.fillRect(20, 0, 10, 10)
ctx.fillStyle = 'pink'
ctx.translate(10, 10);
ctx.rect(0, 0, 10, 10);
ctx.translate(10, 10);
ctx.rect(0, 0, 100, 100);
ctx.scale(2, 2)
ctx.rect(100, 100, 10, 10);
ctx.fill()
window.open(`data:image/svg+xml;utf8,${ctx.getSerializedSvg()}`)
|
2016-08-13 16:59:17 -07:00 |
|
Michael Deal
|
17a2239c37
|
make if/for/function formatting uniform
|
2016-08-13 15:47:36 -07:00 |
|
Michael Deal
|
0b16b0c346
|
fix issue in ctx.closePath()
prevents path from starting with ‘Z’ and throwing an error
|
2016-07-28 01:07:38 -07:00 |
|
clintjd
|
6983b3d782
|
Update package.json
|
2016-04-21 12:00:55 -07:00 |
|
clintjd
|
140c10ad6e
|
Update bower.json
|
2016-04-21 12:00:42 -07:00 |
|
clintjd
|
ca7d22f67c
|
Update README.md
|
2016-04-21 12:00:27 -07:00 |
|
clintjd
|
acd32ed95f
|
Update canvas2svg.js
update to 1.0.19
|
2016-04-21 11:59:59 -07:00 |
|
clintjd
|
db62162a47
|
Merge pull request #42 from Janpot/fix-font
Fix __parseFont to not crash
|
2016-04-21 11:59:26 -07:00 |
|
clintjd
|
6c76129768
|
Update package.json
update version to 1.0.18
|
2016-04-21 11:51:29 -07:00 |
|
clintjd
|
04e17605ac
|
Update bower.json
|
2016-04-21 11:51:02 -07:00 |
|
clintjd
|
6795d6be70
|
Update README.md
update version to 1.0.18
|
2016-04-21 11:50:41 -07:00 |
|
clintjd
|
9524ff734d
|
Update canvas2svg.js
update version to 1.0.18
|
2016-04-21 11:49:40 -07:00 |
|
clintjd
|
92464d63b6
|
Merge pull request #41 from Janpot/fix-clip
.clip was not working, the path never made it to the clip area
|
2016-04-21 11:48:22 -07:00 |
|
Jan Potoms
|
6a3e940119
|
Fix __parseFont to not crash
|
2016-04-16 22:23:38 +02:00 |
|
Jan Potoms
|
769f20b0e1
|
.clip was not working, the path never made it to the clip area
|
2016-04-16 22:06:25 +02:00 |
|
Gabriel Hernandez
|
c909ae09d7
|
1.0.17
|
2016-01-22 09:14:16 -08:00 |
|
Gabriel Hernandez
|
2c1a4323ac
|
v1.0.17
|
2016-01-22 08:51:37 -08:00 |
|
Gabriel Hernandez
|
aab4b1808c
|
Merge pull request #39 from FuZhenn/master
fixed a bug with globalAlpha
|
2016-01-20 11:17:38 -08:00 |
|
fuzhen
|
d70b13eedd
|
add tests for globalAlpha
|
2016-01-16 17:22:47 +08:00 |
|
fuzhen
|
f302a60389
|
fixed duplicate def of globalAlpha in STYLES
|
2016-01-06 23:58:17 +08:00 |
|
fuzhen
|
efcdc56ccd
|
fixed a bug with globalAlpha
|
2016-01-06 23:27:49 +08:00 |
|
Gabriel Hernandez
|
093bedd087
|
Merge pull request #38 from FuZhenn/master
Fix drawImage and add new __clearCanvas
|
2016-01-05 12:41:24 -08:00 |
|
fuzhen
|
9dc92b79aa
|
1. move back to image.getAttribute("src")
2. save the original transform of C2S context in drawImage
|
2015-12-18 09:59:13 +08:00 |
|