Re: How to draw Cairo graphic in a Motif drawing widget

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
On Fri, 6 May 2016 22:55:18 +0000 (UTC), George Wu wrote:

> I'm trying to use Cairo to draw graphics on a drawing area widget
> created by Motif.

Presumably there is some way to get an X11 or XCB drawable out of your
GUI toolkit. Then you can wrap it in a Cairo surface using this
<https://www.cairographics.org/manual/cairo-XLib-Surfaces.html#cairo-xlib-surface-create>
or this
<https://www.cairographics.org/manual/cairo-XCB-Surfaces.html#cairo-xcb-surface-create>.
-- 
cairo mailing list
[email protected]
https://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.