[cl-cairo2-announce] syntax change in cl-cairo2

Tamas K Papp tpapp at Princeton.EDU
Sat May 16 01:51:27 UTC 2009


Hi everyone,

I pushed a new version of cl-cairo2 to the GIT repository
http://github.com/tpapp/cl-cairo2/tree/master where it is kept now.

The most important change is that I disposed of the *context* global
variable, and moved context to the first argument, so now you write

(move-to context 0 -2)

instead of

(move-to 0 -2 context)

or

(setf *context*)
(move-to 0 -2)

I know this is an important change in syntax, and may break a lot of
code.  I apologize for the inconvenience, but this has been a major
wart on the initial design and I have always wanted to fix it.

Best,

Tamas




More information about the Cl-cairo2-announce mailing list