Method: Qt::PointF._load
- Defined in:
- lib/ruber/qt_sugar.rb
permalink ._load(str) ⇒ Object
[View source]
136 137 138 139 |
# File 'lib/ruber/qt_sugar.rb', line 136 def self._load str x, y = str.split ';' self.new x.to_f, y.to_f end |