Forum: FXRuby Strange behavior in scaling an image

Posted by Roberto Casadei (robyonrails)
on 2008-09-24 14:17
Can anyone tell me the difference between

> self.image = Fox::FXJPGImage.new(app, io.read).scale(100,100,1)

and

> self.image = Fox::FXJPGImage.new(app, io.read)
> self.image.scale(100,100,1)

???

The former makes the image appear like a point, such as it wasn't
loaded, while the latter makes it scaling in the right way.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.