There wasn't much interest in my last e-mail so I'll use my discretion. The diff was bigger than the files so I've attached them as-is. Extact in the Cairo egg directory which you can fetch with: svn co https://galinha.ucpel.tche.br/svn/chicken-eggs/release/3/cairo
This new version is not fully compatible with the old version due to improved
Schemification of the API.
Things I forgot to mention in my last e-mail:
* You can create a garbage-collected cairo_matrix_t:
e.g.
(let ([m (make-cairo-matrix)])
(cairo-matrix-translate m 10.2 -5.4)
(cairo-matrix-rotate m (/ pi 2))
(cairo-set-matrix cr m))
It can be converted to and from vector or f64vector.
* I've made no attempt to support system-specific functions e.g. Xlib or Win32
surfaces and FreeType fonts. Usually this is handled in a C library such as
GTK but I could add them if there is any demand.
* Replaced use of deprecated features in Chicken such as pointer (c-pointer)
and byte-vector (blob).
* Not everything is tested. This is a big project in itself. The testing I
have done is limited to the use of Cairo in my own project (which makes use
of fonts and linear/radial patterns).
* Only tested on x86 32-bit - this is all I have.
* Documentation is still non-existent but nearly everything should work just
like in C.
Have fun...
Luke McCarthy
cairo.tar.gz
Description: application/tgz
_______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
