title: Cairo test if text overlaps
body: <p>Using Cairo, I'm placing some text at random positions, and I need to know if they overlap some previously drawn arbitrary shapes. I could clip the path to the previous drawings, and if any clipping occurs it means that there is overlap. However, Cairo doesn't seem to have any functions to tell if clipping did occur or not.</p>
  
  <p>Is there any way to easily accomplish what I want? I guess I just basically want to see if two shapes intersect or not.</p>