Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef RENDER_H
00008 #define RENDER_H
00009
00010 #include "greymap.h"
00011
00012 struct render_s {
00013 greymap_t *gm;
00014 double x0, y0, x1, y1;
00015 int x0i, y0i, x1i, y1i;
00016 double a0, a1;
00017 int *incrow_buf;
00018 };
00019 typedef struct render_s render_t;
00020
00021 render_t *render_new(greymap_t *gm);
00022 void render_free(render_t *rm);
00023 void render_close(render_t *rm);
00024 void render_moveto(render_t *rm, double x, double y);
00025 void render_lineto(render_t *rm, double x, double y);
00026 void render_curveto(render_t *rm, double x2, double y2, double x3, double y3, double x4, double y4);
00027
00028 #endif