[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [ANN] Lua Cairo binding -updated-
- From: Hakki Dogusan <dogusanh@...>
- Date: Fri, 25 May 2007 17:47:57 +0300
Hi,
(Sorry, new topic to fix subject)
Changes:
- Lua dependency removed
- Code changed to C
- Module renamed to lcairo.c as tradition
- Code::Blocks project file for cairo included
(It's a XML file, you may edit before usage)
- lcario creates two -namespace- tables:
cairo - for functions
CAIRO - for constants, enums
this simplifies translating C code to Lua, ie:
cairo_set_operator (cr, CAIRO_OPERATOR_ADD);
becomes:
cairo.set_operator (cr, CAIRO.OPERATOR_ADD)
You can get it here:
http://www.dogusan.net/dogusanh/download/luacairo.zip (3206Kb)
If you previously downloaded above file, you can get updates here:
http://www.dogusan.net/dogusanh/download/luacairo-update.zip (290Kb)
--
Regards,
Hakki Dogusan