Skip to content

Commit 6c52673

Browse files
authored
Merge pull request #4 from bokeh/canavandl/update_readme
update release number
2 parents 27b5f6d + 0b5876c commit 6c52673

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

Diff for: README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Canvas2Svg [![Build Status](https://travis-ci.org/gliffy/canvas2svg.svg?branch=master)](https://travis-ci.org/gliffy/canvas2svg)
22
==========
3-
This library turns your Canvas into SVG using javascript. In other words, this library lets you build an SVG document
3+
This library turns your Canvas into SVG using javascript. In other words, this library lets you build an SVG document
44
using the canvas api. Why use it?
55
* You have a canvas drawing you want to persist as an SVG file.
66
* You like exporting things.
@@ -12,7 +12,7 @@ http://gliffy.github.io/canvas2svg/
1212

1313
How it works
1414
==========
15-
We create a mock 2d canvas context. Use the canvas context like you would on a normal canvas. As you call methods, we
15+
We create a mock 2d canvas context. Use the canvas context like you would on a normal canvas. As you call methods, we
1616
build up a scene graph in SVG. Yay!
1717

1818
Usage
@@ -41,7 +41,7 @@ npm install
4141
npm test
4242
```
4343

44-
To run tests against Chrome and Firefox, call karma directly. This is not the default npm test due to the limited
44+
To run tests against Chrome and Firefox, call karma directly. This is not the default npm test due to the limited
4545
browser selection in travis.
4646
```
4747
npm install karma-cli -g
@@ -72,11 +72,11 @@ install gulp globally if you haven't done so already
7272
```
7373
npm install -g gulp
7474
```
75-
Then run the following to update playground.html and testrunner.html
75+
Then run the following to update playground.html and testrunner.html
7676
```
7777
gulp
7878
```
79-
You should now be able to select your new example from playground.html or see it run in testrunner.html
79+
You should now be able to select your new example from playground.html or see it run in testrunner.html
8080

8181
If you find a bug, or want to add functionality, please add a new test case and include it with your pull request.
8282

@@ -100,13 +100,14 @@ N.B. You may not need node-canvas for some simple operations when using jsdom >=
100100

101101
Updates
102102
==========
103+
- v1.0.21 Fix issue ctx.drawImage incorrectly smoothing the image and allow user to pass in ctx argument
103104
- v1.0.20 Fix issue with mixing transforms with path commands
104105
- v1.0.19 Fix __parseFont to not crash
105106
- v1.0.18 clip was not working, the path never made it to the clip area
106107
- v1.0.17 Fix bug with drawing in an empty context. Fix image translation problem. Fix globalAlpha issue.
107108
- v1.0.16 Add npm publishing support, bower file and optimize for arcs with no angles.
108109
- v1.0.15 Setup travis, add testharness and debug playground, and fix regression for __createElement refactor
109-
- v1.0.14 bugfix for gradients, move __createElement to scoped createElement function, so all classes have access.
110+
- v1.0.14 bugfix for gradients, move __createElement to scoped createElement function, so all classes have access.
110111
- v1.0.13 set paint order before stroke and fill to make them behavior like canvas
111112
- v1.0.12 Implementation of ctx.prototype.arcTo.
112113
- v1.0.11 call lineTo instead moveTo in ctx.arc, fixes closePath issue and straight line issue
@@ -117,9 +118,9 @@ Updates
117118
- v1.0.6 basic support for text baseline (contribution from KoKuToru)
118119
- v1.0.5 fixes for #5 and #6 (with contributions from KoKuToru)
119120
- v1.0.4 generate ids that start with a letter
120-
- v1.0.3 fixed #4 where largeArcFlag was set incorrectly in some cases
121+
- v1.0.3 fixed #4 where largeArcFlag was set incorrectly in some cases
121122
- v1.0.2 Split up rgba values set in fill/stroke to allow illustrator import support.
122-
- v1.0.1 Allow C2S to be called as a function. https://github.com/gliffy/canvas2svg/issues/2
123+
- v1.0.1 Allow C2S to be called as a function. https://github.com/gliffy/canvas2svg/issues/2
123124
- v1.0.0 Initial release
124125

125126
Misc

Diff for: bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "canvas2svg",
3-
"version": "1.0.19",
3+
"version": "1.0.21",
44
"main": "./canvas2svg.js"
55
}

Diff for: canvas2svg.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!!
2-
* Canvas 2 Svg v1.0.19
2+
* Canvas 2 Svg v1.0.21
33
* A low level canvas to SVG converter. Uses a mock canvas context to build an SVG document.
44
*
55
* Licensed under the MIT license:

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "canvas2svg",
3-
"version": "1.0.19",
3+
"version": "1.0.21",
44
"description": "canvas2svg",
55
"main": "canvas2svg.js",
66
"homepage": "http://gliffy.github.io/canvas2svg/",

0 commit comments

Comments
 (0)