Class: Cairo::Region

Inherits:
Object
  • Object
show all
Defined in:
lib/rabbit/gtk.rb

Instance Method Summary collapse

Instance Method Details

#each_rectangleObject



31
32
33
34
35
# File 'lib/rabbit/gtk.rb', line 31

def each_rectangle
  num_rectangles.times do |i|
    yield(self[i])
  end
end