we could use lines as in the triangle to draw ourselves a rectangle, but cairo has the ability to draw rectangles built in so might as well use it cairo_rectangle (cr, x, y, width, height) the x,y ...