[cairo] Re: pycairo: set_pattern currently disabled
Steve Chaplin
stevech1097 at yahoo.com.au
Sun Nov 14 18:50:55 PST 2004
On Fri, 2004-11-12 at 16:41 +0100, Maarten Breddels wrote:
> I had about the same code, plus some extra laying around, so I made a
> diff, the ChangeLog should say it all. Btw, i noticed that there is no
> cairo_surface_current_current_repeat/cairo_surface_current_get_repeat,
> is it for a reason, or is it missing?
> I also created a demo to test out the cairo_current_path in python,
> which seems to work fine, image included :)
> I hope the diff is ok.
>
> -Maarten Breddels
Thanks for the patch, I've committed most it and just have two 'path'
functions left to do.
There were a few problems:
cairomodule.c
- pycairo_win32_surface_create - I can't see a
cairo_win32_surface_create() in cairo.h - so I didn't add it.
- pycairo_ps_surface_create - I couldn't see why y_pixels_per_inch
would be optional - so I made it compulsory
pycairo-context.c
- pycairo_stroke_extents, pycairo_fill_extents needed PyArg_ParseTuple
()
Steve
More information about the cairo
mailing list