Pong::CenteredItem
# File gtk2/sample/misc/cairo-pong.rb, line 58 def draw(cr) cr.translate(min_x, min_y) cr.scale(@width, @height) cr.rectangle(0, 0, 1, 1) cr.fill end
[Validate]
Generated with the Darkfish Rdoc Generator 2.