An open API service indexing awesome lists of open source software.

https://github.com/golang-ui/cairo

Package cairo provides full Go bindings for Cairo, a 2D graphics library.
https://github.com/golang-ui/cairo

bindings cairo drawing glfw golang gui

Last synced: 5 months ago
JSON representation

Package cairo provides full Go bindings for Cairo, a 2D graphics library.

Awesome Lists containing this project

README

          

## cairo bindings

Work In Progress.

Full Cairo bindings with examples:
* Quartz-backed rendering for OS X;
* GLFW crossplatform OpenGL 2.1 surface support.

### Installation

To use libcairo and dependencies shipped with this package (`darwin_amd64` at the moment):
```
$ go get github.com/golang-ui/cairo/cmd/cairo-example-glfw
```

To dynamically link against external libcairo (via pkg-config, `darwin` systems at the moment):
```
$ go get -tags external github.com/golang-ui/cairo/cmd/cairo-example-glfw
```

### Examples

cairo-example-glfw

### LICENSE

MIT