hi all > One decision that we need to make as a group is if we are going to allow Lua > scripts to have direct access to Cairo. It has been our plan from the start > to > write as much of the interface as possible in Lua -- for multitude of > reasons. > In order to do this effectively, however, Lua scripts need to be able to > define their own drawing functions -- which requires access to Cairo. > > Therefore we need to decide if we want to allow this or not, - and if so what > is the best way to map Cairo to Lua. I am sure Elio has some comments/ideas. > > Regards, Freddie.
Have a look at the interface proposals (e.g. http://forums.wz2100.net/download/file.php?id=2652&mode=view ) forum thread: http://forums.wz2100.net/viewtopic.php?f=6&t=2258 There are many unique shapes which need to be drawn in the right dimensions. This makes it impossible to just save them as a svg image (all the icons will be svg-images though) because if we resize it we only stretch it. cairo path functions http://cairographics.org/manual/cairo-paths.html cairo draw functions http://cairographics.org/manual/cairo-context.html perhaps we should consider include a complete language binding regards elio _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev