guint n_channels = gdk_pixbuf_get_n_channels(pixbuf);
guchar *pixels = gdk_pixbuf_get_pixels(pixbuf);
- vprintf("%s(%d, %d, %d)\n", __PRETTY_FUNCTION__, ratio_p2, src_x, src_y);
-
/* Sweep through the entire dest area, copying as necessary, but
* DO NOT OVERWRITE THE SOURCE AREA. We'll copy it afterward. */
do {
dest_offset_y = (dest_y + y) * rowstride;
x = dest_dim - 1;
- if ((unsigned)(dest_y + y - src_y) < src_dim
- && (unsigned)(dest_x + x - src_x) < src_dim)
+ if ((unsigned)(dest_y + y - src_y) < src_dim && (unsigned)(dest_x + x - src_x) < src_dim)
x -= src_dim;
for (; x >= 0; x--) {
src_y = src_endx;
}
while ((dest_dim >>= ratio_p2) > 1);
-
- vprintf("%s(): return\n", __PRETTY_FUNCTION__);
}
/**