create#

Creates a region, dispatching on how many rectangles you pass:

Cairo::Region->create()          # empty region
Cairo::Region->create($rect)     # one rectangle
Cairo::Region->create(@rects)    # the union of several rectangles

Each rectangle is a hashref {x, y, width, height} with integer values.