Return a new Wx::Point with the x and y parameters both divided by parameter div, which should be a Numeric
Source Code
# File wx/classes/point.rb, line 9 def /(div) self.class.new( (get_x / div).to_i, (get_y / div).to_i ) end
Return a new Wx::Point with the x and y parameters both divided by parameter div, which should be a Numeric
# File wx/classes/point.rb, line 9 def /(div) self.class.new( (get_x / div).to_i, (get_y / div).to_i ) end
<code/>and<pre/>for code samples.