right, but
cairo_rectangle (cr, 0, 0, width, height);
would need to be
cairo_rectangle (cr, x, y, width, height);
otherwise it draws in the wrong place, i.e. the top left corner of webpages.
right, but
cairo_rectangle (cr, 0, 0, width, height);
would need to be
cairo_rectangle (cr, x, y, width, height);
otherwise it draws in the wrong place, i.e. the top left corner of webpages.