Refactor image and text drawing
Some of my usual code shuffling... move draw_image
and draw_text
to the drawing ctx, which is consistent with draw_path
.
This encapsulates more cairo details in the drawing ctx and allows to make with_saved_cr
private.