Skip to content

Commit 932d33f

Browse files
committed
Add more screenshots to the README, update/refine the license section.
1 parent 510782a commit 932d33f

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,32 @@ On node-canvas, user code explicitly calls toBuffer or similar functions to prod
123123
Code running on node-openvg-canvas must explicitly swap display buffers, to do so, either call ```Canvas.vgSwapBuffers()``` or use the included requestAnimationFrame shim that does this after calling your paint callback function (for more information look at the clock examples).
124124

125125
## Some sample screenshots
126+
The code to produce these screenshots is included in the examples.
126127

127-
### Clipping (examples/clipping.js)
128+
### Colors parsing
129+
examples/color.js
128130

129-
[![Clipping](https://raw.github.com/luismreis/node-openvg-canvas/master/examples/screenshots/clipping.png)]
131+
![Color](https://raw.github.com/luismreis/node-openvg-canvas/master/examples/screenshots/color.png)
130132

133+
### Clipping
134+
examples/clipping.js
131135

136+
![Clipping](https://raw.github.com/luismreis/node-openvg-canvas/master/examples/screenshots/clipping.png)
137+
138+
### Alpha
139+
examples/globalAlpha.js
140+
141+
![globalAlpha](https://raw.github.com/luismreis/node-openvg-canvas/master/examples/screenshots/globalAlpha.png)
142+
143+
### Shadows
144+
examples/clipping.js
145+
146+
![Shadows](https://raw.github.com/luismreis/node-openvg-canvas/master/examples/screenshots/shadows.png)
147+
148+
### Text along paths
149+
examples/pathText.js
150+
151+
![Path Text](https://raw.github.com/luismreis/node-openvg-canvas/master/examples/screenshots/pathText.png)
132152

133153
## License
134154

@@ -141,3 +161,11 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
141161
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
142162

143163
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
164+
165+
====
166+
167+
This module used to depend on node-image (BSD license) [npm](https://npmjs.org/package/node-image) / [github](https://github.com/mikeseven/node-image) for image loading/saving, currently, it has it's own [FreeImage](http://freeimage.sourceforge.net/license.html) bindings.
168+
169+
====
170+
171+
Font loading and rendering via [FreeType](http://www.freetype.org/) is based on code originaly from [Hybrid Graphics, Ltd](http://web.archive.org/web/20070808195023/http://developer.hybrid.fi/font2openvg/index.html) (BSD license).

0 commit comments

Comments
 (0)