Behold this glorious GUI with a rounded rectangle: http://i.imgur.com/Yszgd.png

Okay, so that's actually Cairo with the win32 back-end. Surprisingly,
using the two together is quite simple. I had to convert the cairo
headers, do a little tweaks to help HTOD out, used implib with /s on
the DLL, grabbed two other dependencies and ported a Python example to
D.

And it runs! Pretty cool having native windows controls and Cairo for
smooth antialised graphics (with no flicker!).

FWIW there's an object-oriented D1 wrapper for Cairo called CairOO,
but it's severely outdated and the old dependencies don't even exist
anymore.

Reply via email to