Re: Questions about embedding cairo

"Bryce W. Harrington" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.