# File core/mui/cairo_coordinate_module.rb, line 13 def initialize(x, y, w, h) @x, @y, @w, @h = x, y, w, h end
# File core/mui/cairo_coordinate_module.rb, line 29 def bottom y + h end
# File core/mui/cairo_coordinate_module.rb, line 16 def point_in?(mx, my) left <= mx and mx <= right and top <= my and my <= bottom end
# File core/mui/cairo_coordinate_module.rb, line 32 def right x + w end