public Method

Size./(div)

Return a new Wx::Size with the width and height values both divided by parameter div, which should be a Numeric

Source Code

# File wx/classes/size.rb, line 8
def /(div)
  self.class.new( (get_x / div).to_i, (get_y / div).to_i )
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.