[cairo] pycairo subclass

Behdad Esfahbod behdad at behdad.org
Wed Dec 12 07:33:49 PST 2007


On Wed, 2007-12-12 at 21:11 +0900, Steven Chaplin wrote:
> 
> I've not used ctypes yet. I thought ctypes were just a clever hack
> that you use when the 'proper' solution of writing bindings in C has
> not been attempted.

They come extremely handy when the binding is missing some bits.  For
cairo-ft for example that's the case, mostly because there are no
FreeType bindings, but in general, looks like a neat hack anyway.

-- 
behdad
http://behdad.org/

...very few phenomena can pull someone out of Deep Hack Mode, with two
noted exceptions: being struck by lightning, or worse, your *computer*
being struck by lightning.  -- Matt Welsh



More information about the cairo mailing list