[cairo] Freetype to Cairo - newb needs help

Behdad Esfahbod behdad at behdad.org
Tue Oct 23 15:14:42 PDT 2007

On Tue, 2007-10-23 at 18:02 -0400, Bertram Felgenhauer wrote:
> I'd resort to C at this point; pycairo.h provides the wrapper we need
> in the Pycairo_CAPI interface. (Of course it's possible to wrap that
> struct with  ctypes  and query python for it with
> ctypes.pythonapi.PyCObject_Import("cairo", "CAPI"). But it feels
> wrong.)

Humm, you can get the CAPI object using cairo._cairo.CAPI.  I just
didn't know what to do with it without spending hours.


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list