[cairo] [ANN] a mostly complete Go binding to cairo

jimmy frasche soapboxcicero at gmail.com
Fri May 9 15:03:46 PDT 2014


Docs: https://godoc.org/github.com/jimmyfrasche/cairo thought the docs
are primarily from the wiki and api reference, copy edited and
reformatted into the official godoc style.

It's not 100%. I have some questions I need to collect and ask the ML,
but figured I'd throw it up at this point to get some more eyes on it.

It would be much appreciated if anyone could review the API and let me
know if I've done anything silly or wrong.

Code reviews would also be welcome if anyone here happens to know Go or cgo.

I'm sure there are bugs and things that will have to be changed.

It is however in a mostly usable state. I've ported
http://cairographics.org/samples (see
https://github.com/jimmyfrasche/cairo/tree/master/examples) and they
all run fine, at least.

I don't plan on implementing anything that require other libraries,
like freetype fonts or win32 surfaces, but there are plenty of
extension points so they can be implemented in their own packages
relatively easily. Except for MIME stuff the core of libcairo is, I
hope, fully wrapped up.

More information about the cairo mailing list