Module: PrintablePoint

Included in:
Qt::Point, Qt::PointF, Qt::Size, Qt::SizeF
Defined in:
lib/rui/toolkits/qtbase/qt.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



95
96
97
# File 'lib/rui/toolkits/qtbase/qt.rb', line 95

def ==(other)
  self.x == other.x and self.y == other.y
end

#to_sObject



99
100
101
# File 'lib/rui/toolkits/qtbase/qt.rb', line 99

def to_s
  "(#{self.x}, #{self.y})"
end