double x0, y0, xlen, ylen, xstep, ystep;
int iteration, xs, ys;
- printf("Drawing area (%f, %f)(%f, %f)\n", x1, y1, x2, y2);
-
xlen = x2 - x1;
ylen = y2 - y1;
xstep = xlen / (double)screen->w;
ctx->origo_x + aspect_ratio / ctx->zoom,
ctx->origo_y - 1 / ctx->zoom,
ctx->origo_y + 1 / ctx->zoom);
+ printf("Drawing area (%f, %f)(%f, %f), zoom %d\n",
+ x1, y1, x2, y2, ctx->zoom );
} while (!read_events(ctx));
}