jashkenas / ruby-processing

Code as Art, Art as Code. Processing and Ruby are meant for each other.
http://github.com/jashkenas/ruby-processing/wikis
Other
1.28k stars 94 forks source link

Processing::Proxy misses width, height and others #13

Closed fjenett closed 14 years ago

fjenett commented 14 years ago

Processing::Proxy misses the following which are available from inner classes of PApplet:

width, height, background, cursor, status, create_image

monkstone commented 14 years ago

Are you sure? I've never had a problem with width/height, take a look at dozens of examples at http://learning-ruby-processing.blogspot.com.

jashkenas commented 14 years ago

Your email says you were using version 1.0.6 -- in 1.0.9 at least, these methods are present, with the exception of create_image. I've whitelisted create_image on master, so it'll be present going forward.

fjenett commented 14 years ago

true, i switched to 1.0.9 yesterday. these are still missing too though: background, size, resize

jashkenas commented 14 years ago

Roger, added those three methods to the Processing::Proxy.