[cairo] Cairo and multiple X11 windows

W.Boeke w.boeke at chello.nl
Thu Jul 31 09:34:01 PDT 2008


Hi,

A normal application with a GUI may contain hundreds of small windows.
If I want to place text in these windows using Cairo, am I supposed
to instantiate a surface and a context for each individual window?
And if so, must I use cairo_set_source_rgb(), cairo_select_font_face()
and cairo_set_font_size() for each context? I suppose that I missed
something, cause this can't be true ...

Any help is appreciated.
Wouter


More information about the cairo mailing list