render.h
Go to the documentation of this file.
00001 /* Copyright (C) 2001-2007 Peter Selinger.
00002    This file is part of Potrace. It is free software and it is covered
00003    by the GNU General Public License. See the file COPYING for details. */
00004 
00005 /* $Id: render.h 147 2007-04-09 00:44:09Z selinger $ */
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 /* RENDER_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


portrait_painter
Author(s): Niklas Meinzer, Ina Baumgarten
autogenerated on Wed Dec 26 2012 16:00:43