gdk_pixbuf_scale (ctx->picture, screen, 0, 0,
event->area.width, event->area.height,
-point.x + event->area.width/2, -point.y + event->area.height/2,
- 1.0, 1.0, GDK_INTERP_HYPER);
+ point.rx, point.ry, GDK_INTERP_HYPER);
gdk_draw_pixbuf (widget->window, NULL, screen, 0, 0, 0, 0, -1, -1,
GDK_RGB_DITHER_NONE, 0, 0);
gdk_pixbuf_unref (screen);
else
filename = argv[1];
ctx.points = ReadPoints ("pro-gnu");
+ rescale_points (ctx.points);
ctx.picture = gdk_pixbuf_new_from_file (filename, NULL);
ctx.i = ctx.points->len;
colorspace = gdk_pixbuf_get_colorspace (ctx.picture);