Class: Qt::PointF

Inherits:
Object show all
Includes:
PrintablePoint
Defined in:
lib/rui/toolkits/qtbase/qt.rb

Instance Method Summary collapse

Methods included from PrintablePoint

#==, #to_s

Instance Method Details

#to_iObject



121
122
123
# File 'lib/rui/toolkits/qtbase/qt.rb', line 121

def to_i
  Qt::Point.new(self.x.to_i, self.y.to_i)
end