On 12 Mar 2008, at 00:41, Tom Hughes wrote:

> In message <[EMAIL PROTECTED]>
>           Artem Pavlenko <[EMAIL PROTECTED]> wrote:
>
>> On 9 Mar 2008, at 10:42, Tom Hughes wrote:
>>
>>>> Main problem with cairo - it is not reflected in Python bindings,
>>>> yet.
>>>>
>>>> Should we have something like :
>>>>
>>>> agg = agg_renderer(m, im)
>>>> agg.render()
>>>>
>>>>
>>>> cairo = cairo_renderer(m,im)
>>>> cairo.render()
>>>>
>>>> Ideas?
>>>
>>> I did look at this briefly - one issue is whether to wrap the cairo
>>> surface object that is passed to the renderer using boost::python as
>>> for everything else, or to use the existing cairo python bindings.
>>
>> Good point. How about supporting both?
>
> Well after several days doing battle with boost::python I seem to
> have something that works (requires the Pycairo python bindings for
> cairo) so I just committed python bindings for cairo rendering.

Great! Thanks Tom! rundemo.py outputs nice pdf and svg on os x 10.4.  
I'll give it a try on 64-bit ubuntu later on.

>
> Tom
>
> -- 
> Tom Hughes ([EMAIL PROTECTED])
> http://www.compton.nu/

Artem



_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to