draw_rectangles/[2,3]
     draw_rectangles(+Drawable, +Rectangles)
     draw_rectangles(+Drawable, +Gc, +Rectangles)
     

Draw rectangles in Drawable. Rectangles is a list of rectangle(X,Y,Width,Height) terms specifying the position and size of each rectangle.