[cairo] Question about LuaCairo and wxLua

Hakki Dogusan dogusanh at tr.net
Mon Nov 28 02:33:20 PST 2011


Hi,

05-11-2011 12:53, W Wlourf wrote:
> Hello,
>
>
> Is it possible to use LuaCairo with wxLua. I've seen CairoPad but I can't get it works on my computer (Debian Squeeze).
>
> What sould I change to this code to display the cairo context on the screen :
>
> package.cpath = package.cpath..";./?.dll;./?.so;../lib/?.so;../lib/vc_dll/?.dll;../lib/bcc_dll/?.dll;../lib/mingw_dll/?.dll;"
>
> require("wx")

Change it to:
wx = require("ds289u")

(I'm using a "hacked" wxLua here; for get_drawable)

> [snip]
>
>
> Thanks in advance
>
> PS : Hakki, if you read me, why your Hack wx.get_drawable(dc) doesn't work ?
>
>

--
Regards,
Hakki Dogusan


More information about the cairo mailing list