- /* Cairo goes a little (!) wrong when asked to fill/stroke rectangles that
- * extend way beyond the surface boundaries. To avoid this issue,
- * clamp what we are drawing using the absolute end of the visible
- * canvas, converting to item-space coordinates, of course.
- */