2009/1/30 Bryan O'Sullivan <b...@serpentine.com>:
> On Fri, Jan 30, 2009 at 1:11 PM, Antony Courtney <antony.court...@gmail.com>
> wrote:
>>
>> A 2-D vector graphics library such as Java2D ( or Quartz on OS/X or
>> GDI+ on Windows ) supports things like computing tight bounding
>> rectangles for arbitrary shapes, hit testing for determining whether a
>> point is inside or outside a shape and constructive area geometry for
>> shape compositing and clipping without dropping down to a raster
>> representation.
>
> These are the kinds of capabilities provided by Cairo, which is very
> pleasant to use (PDF-style imaging model) and quite portable. There are
> already Cairo bindings provided by gtk2hs, too.

There is an even higher-level interface to Cairo, in the form of the
diagrams package[1]

[1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/diagrams-0.1

--Max
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to