[cairo] xcb surface example?

Uli Schlachter psychon at znc.in
Fri Jun 26 11:09:36 PDT 2015

Am 26.06.2015 um 13:31 schrieb Andreas Lobinger:
> Hello colleagues,


> is there a good, known example of the cairo XcbSurface available? On the
> http://cairographics.org/examples/ page there is a link to
> git clone git://git.thisnukes4u.net/cairo-xcb-demo.git
> which seems to be outdated.

What exactly do you need? There is mostly just a single useful function in
cairo-xcb. :-)

Anyway, attached is a quick example that I hacked together. Hopefully it can
help you.

Homophobia - The fear that another man will treat you the way you treat women.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.c
Type: text/x-csrc
Size: 2431 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20150626/1ceb4bd4/attachment.c>

More information about the cairo mailing list