Do you know some way of clipping content in Cairo?
I’ve tried to use
cairo_rectangle (cairo->getCairoContext(), rect.x, rect.y, rect.width, rect.height); cairo_clip(cairo->getCairoContext());
and it seems to work, but only once per frame.
Any ideas of how to draw and clip multiple times in the same frame / cairo context?