[cairo] Re: pycairo: set_pattern currently disabled

Maarten Breddels dmon at xs4all.nl
Mon Nov 15 02:55:24 PST 2004


Steve Chaplin wrote:

>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.
>  
>
Ah yes, that's from my own cairo 'version', some really simple win32 
surface, which I doubt will be usefull enough to add to cairo.

> - pycairo_ps_surface_create - I couldn't see why y_pixels_per_inch
>would be optional - so I made it compulsory
>  
>
Yes, agree

>pycairo-context.c 
> - pycairo_stroke_extents, pycairo_fill_extents needed PyArg_ParseTuple
>()
>
>  
>
Sloppy :)

>Steve
>  
>
-Maarten



More information about the cairo mailing list