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

Max Rabkin max.rabkin at gmail.com
Fri Jan 30 16:31:54 EST 2009

2009/1/30 Bryan O'Sullivan <bos at serpentine.com>:
> On Fri, Jan 30, 2009 at 1:11 PM, Antony Courtney <antony.courtney at 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


More information about the Haskell-Cafe mailing list