pix = gdk_pixbuf_get_pixels(pixbuf);
rs = gdk_pixbuf_get_rowstride(pixbuf);
+ /** @FIXME: x,y expected to be = 0. Maybe this is not the right place for scaling */
+ if (!options->image.use_clutter_renderer)
+ {
+ w = w * scale_factor();
+ h = h * scale_factor();
+ }
+
w = MIN(w, pixbuf_width - x);
h = MIN(h, pixbuf_height - y);