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.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to