draw2d/README.md

34 lines
1.2 KiB
Markdown
Raw Normal View History

draw2d
======
2015-07-07 21:59:20 +00:00
Package draw2d is a pure [go](http://golang.org) 2D vector graphics library with support for multiple output devices such as [images](http://golang.org/pkg/image) (draw2d), pdf documents (draw2dpdf) and opengl (draw2dopengl), which can also be used on the google app engine.
2015-04-22 13:59:42 +00:00
This library is inspired by [postscript](http://www.tailrecursive.org/postscript) and [HTML5 canvas](http://www.w3.org/TR/2dcontext/).
2015-07-07 21:59:20 +00:00
See the [documentation](http://godoc.org/github.com/llgcode/draw2d) for more details.
2015-07-07 21:59:20 +00:00
The package depends on [freetype-go](http://code.google.com/p/freetype-go) package for its rasterization algorithm.
2015-07-07 21:59:20 +00:00
Installation
------------
2015-04-22 13:59:42 +00:00
2015-07-07 21:59:20 +00:00
Install [golang](http://golang.org/doc/install). To install or update the package draw2d on your system, run:
2015-04-22 14:03:13 +00:00
```
2015-07-07 21:59:20 +00:00
go get -u github.com/llgcode/draw2d
```
2015-04-22 14:05:00 +00:00
and start coding using one of the [Samples](https://github.com/llgcode/draw2d.samples).
2015-04-22 13:59:42 +00:00
2015-04-22 14:05:00 +00:00
Softwares and Packages using draw2d
-----------------------------------
2015-04-22 13:59:42 +00:00
- [golang postscript interpreter](https://github.com/llgcode/ps)
2015-04-22 14:03:13 +00:00
- [gonum plot](https://github.com/gonum/plot)
2015-04-22 14:03:13 +00:00
References
2015-04-22 13:59:42 +00:00
---------
2015-04-22 13:59:42 +00:00
- [antigrain.com](http://www.antigrain.com)
- [freetype-go](http://code.google.com/p/freetype-go)