[cairo] Cairo library for Ypsilon Scheme

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Wed May 26 13:15:51 PDT 2010


On Wed, 26 May 2010, Eduardo Cavazos wrote:

> Ypsilon's Cairo library API is a direct reflection of the C API. I use macros
> in a few places to make things a little more concise. For example:
> 
>    (with-cairo cr
>       (scale 120 120)
>       (set_line_width 0.1)
>       (set_source_rgb 0 0 0)

That's awesome.  I would've expected names like set-line-width to be 
more scheme-like, but I'll take it as is!  If you want, feel free to 
add a blurb about it on the cairographics.org wiki.

Cheers,

Joonas



More information about the cairo mailing list