Hi,

I just used a little transformation in a new game (pic [1], demo later)
and wrote this which looks rubish and not so ruby-sh:

transform = NSAffineTransform.transform
transform.translateXBy 20, yBy: 20      # looks ugly
transform.concat

The MacRuby examples are all like this, and #translate doesn't exist,
but I wonder if I missed something there?


ciao, tom

[1] https://skitch.com/tomk32/rahp3/sirtet

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to