[cairo] Questions about embedding cairo
Bryce W. Harrington
b.harrington at samsung.com
Wed Aug 14 15:46:05 PDT 2013
On Wed, Aug 14, 2013 at 07:08:09AM -0700, Weston Weems wrote:
> First of all, forgive me for asking what is surely a newb question, but I
> did try to do some searching before hand... (apparently my google-fu has
> failed me)
>
> I'd like to use cairo in an embedded application (linux but without the
> xwindows).
>
> I was under the impression I could build mesa and cairo on top of that, and
> avoid xwindows.
>
> I believe I have that done (as prerequisites to getting wayland/weston
> setup) but every example I see for cairo stuff, explicitly imports x11
> headers, or gtk stuff.
>
> Is this something I should be able to do? And if so, am I going totally the
> wrong way about it?
>
> I'd appreciate any pointers... or even samples I can use to test that my
> setup is working as expected.
Several of the weston clients use cairo to some degree, see flowers.c
for example. These don't use X or gtk, but instead use the toytoolkit
defined in window.c.
Bryce
More information about the cairo
mailing list