title: Cairo fill area between two rectangles
body: <p>In my program I want to fill the area between two rectangles with some color and inner rectangle should be white. the way I am doing it is draw outer rectangle and fill it with desired color, then draw inner rectangle and fill it with white color.</p>
  <p>something like following:</p>
  <pre class="lang-c prettyprint-override"><code>cairo_rectangle(cr, x1, y1, width1, height1);  
  cairo_set_source_rgb(cr,0,0,0);  
  cairo_fill(cr);  
  cairo_rectangle(cr, x2, y2, width2, height2);  
  cairo_set_source_rgb(cr,1,1,1);  
  cairo_fill(cr);
  </code></pre>
  <p>I am wondering if there is any other way of doing this where I can draw both the rectangle and then fill the area between them?</p>