[wxruby-users] how can I use draw line in wxruby??

Bass Guitar lists at ruby-forum.com
Wed Jan 2 03:16:50 EST 2008


I use

dc = DC.new()
dc.draw_line(50,  50,  100, 100)

but it can't be compiled
I don't know how to declare DC variable??
in http://wxruby.rubyforge.org/doc/dc.html
it don't tell me how to declare now variable
plese tell me :'(
-- 
Posted via http://www.ruby-forum.com/.


More information about the wxruby-users mailing list