Class: Wx::Size
- Inherits:
-
Object
- Object
- Wx::Size
- Includes:
- FIRM::Serializable
- Defined in:
- lib/wx/shapes/wx.rb,
lib/wx/shapes/serialize/wx.rb
Instance Method Summary collapse
-
#to_real_point ⇒ Wx::RealPoint
(also: #to_real)
Returns this size as a Wx::RealPoint.
Instance Method Details
#to_real_point ⇒ Wx::RealPoint Also known as: to_real
Returns this size as a Wx::RealPoint.
31 32 33 |
# File 'lib/wx/shapes/wx.rb', line 31 def to_real_point Wx::RealPoint.new(self.width.to_f, self.height.to_f) end |