Class: Qt::PointF
Instance Method Summary
collapse
Methods inherited from Base
#%, #&, #*, #**, #+, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #^, #methods, #protected_methods, #public_methods, q_classinfo, q_signal, q_slot, signals, #singleton_methods, slots, #|, #~
Instance Method Details
1189
1190
1191
1192
|
# File 'lib/qt/qtruby4.rb', line 1189
def inspect
str = super
str.sub(/>$/, " x=%f, y=%f>" % [x, y])
end
|
#pretty_print(pp) ⇒ Object
1194
1195
1196
1197
|
# File 'lib/qt/qtruby4.rb', line 1194
def pretty_print(pp)
str = to_s
pp.text str.sub(/>$/, "\n x=%f,\n y=%f>" % [x, y])
end
|