[cairo] Contributing pyCairoChart
Martin Lesser
ml-cairo at bettercom.de
Wed May 24 22:28:46 PDT 2006
Carl Worth <cworth at cworth.org> writes:
> By "standard pycairo way" I was simply trying to refer to the cairo
> equivalent of cairo_create. I just didn't know the name for that in
> pycairo-land. Cairo::create or something?
>
> If you were writing a C library, I would have asked:
>
> Why don't you provide a function that accepts a cairo_t* ?
pycairochart uses pycairo which provides this. In pycairochart the
cairo_t as well as the surface are members of each instance so it is
possible (but not desired) to access them directly after creating a new
instance.
Martin
--
http://bettercom.de/auctiontools/ and http://bettercom.de/
More information about the cairo
mailing list