summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@redhat.com>2008-11-06 23:03:20 -0500
committerSøren Sandmann Pedersen <sandmann@redhat.com>2008-11-06 23:03:20 -0500
commit04a2958485878e391e006ee384dac5059dc72773 (patch)
tree9cb07bb6e7f6a0e723d82c58ecc36e6758905bef
parenta3fb811e96248bc0b9e0c323761d0abb1b594a76 (diff)
Add similar to pixbufHEADmaster
-rw-r--r--downscaling.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/downscaling.c b/downscaling.c
index dc16c2e..98048fd 100644
--- a/downscaling.c
+++ b/downscaling.c
@@ -399,7 +399,8 @@ set_box (pixman_image_t *image, int w, int h, double scale)
static void
set_pixbuf (pixman_image_t *image, int w, int h, double scale)
{
- g_error ("Pixbuf filter is not implemented yet");
+ g_print ("scale: %f\n", scale);
+ pixman_image_set_filter (image, PIXMAN_FILTER_AREA, NULL, 0);
}
static const filter_t filters[] =