event->area.width, event->area.height,
-point.x + w/2 - event->area.x,
-point.y + h/2 - event->area.y,
- point.rx, point.ry, GDK_INTERP_HYPER);
+ point.rx, point.ry, GDK_INTERP_BILINEAR);
gdk_draw_pixbuf (widget->window, NULL, screen, 0, 0,
event->area.x, event->area.y,
event->area.width, event->area.height,
return FALSE;
}
+#define FPF 40
+
int
main (int argc, char **argv)
{
else
filename = argv[1];
ctx.points = ReadPoints ("pro-gnu");
- rescale_points (ctx.points);
+ ctx.points = drop_dup_frames (ctx.points, FPF);
+ rescale_points (ctx.points, get_scales (FPF));
ctx.picture = gdk_pixbuf_new_from_file (filename, NULL);
ctx.i = ctx.points->len;
colorspace = gdk_pixbuf_get_colorspace (ctx.picture);