32 lines
922 B
Markdown
32 lines
922 B
Markdown
draw2d
|
|
======
|
|
|
|
This package (written in [go](http://golang.org)) provides an API to draw 2d vector forms on [images](http://golang.org/pkg/image).
|
|
This library is inspired by [postscript](http://www.tailrecursive.org/postscript) and [HTML5 canvas](http://www.w3.org/TR/2dcontext/).
|
|
|
|
The package depends on [freetype-go](http://code.google.com/p/freetype-go) package for its rasterization algorithm.
|
|
|
|
|
|
Using
|
|
-----
|
|
|
|
Install [golang](http://golang.org/doc/install) and get `draw2d`
|
|
|
|
```
|
|
go get github.com/llgcode/draw2d
|
|
```
|
|
|
|
and start coding using one of the [Samples](https://github.com/llgcode/draw2d.samples).
|
|
|
|
|
|
Softwares and Packages using draw2d
|
|
-----------------------------------
|
|
|
|
- [golang postscript interpreter](https://github.com/llgcode/ps)
|
|
- [gonum plot](https://github.com/gonum/plot)
|
|
|
|
References
|
|
---------
|
|
|
|
- [antigrain.com](http://www.antigrain.com)
|
|
- [freetype-go](http://code.google.com/p/freetype-go)
|