[Haskell-cafe] Re: Why binding to existing widget toolkits doesn't make any sense

Bryan O'Sullivan bos at serpentine.com
Fri Jan 30 17:30:59 EST 2009


Hi, Antony -

It's good to see you active on here.


> It's not clear to me if the Cairo API in its current form supports
> vector-level clipping or constructive area geometry, [...]


The Cairo clipping API is very PostScripty; you set up a path and then turn
it into a clip region instead of filling it. You don't end up with a
first-class value, but a manipulation of the implicit global rendering
state. For CAG-style operations, http://lib2geom.sourceforge.net/ would be a
better bet, but FFIing to a library written in C wouldn't necessarily be a
real improvement over just writing a CAG library natively. I think it would
be true to say that you can't quite get everything you would want in one
easy-to-use place, then.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090130/e400e551/attachment.htm


More information about the Haskell-Cafe mailing list