[cairo] cairo and gdk/X11

Tamas K Papp tpapp at Princeton.EDU
Wed Jun 6 07:40:02 PDT 2007


Hi,

I am writing Cairo bindings for Common Lisp, and need a bit of help.
Static surfaces (bitmaps, PDF, Postscript etc) work fine, but I don't
know how to approach X11/GDK surfaces.

I have looked at the Cairo tutorial code and saw that it works by
calling the draw function to redraw everything whenever required (if
the window is resized/exposed etc).  Is there a way to avoid this, eg
by making Cairo remember the draw operations and replay them when
needed?

Thanks,

Tamas


More information about the cairo mailing list