Swap code/variable declaration to be pre-C99 compliant.
[xiph/unicode.git] / planarity / graph_arrange.h
bloba377917342300885e83d7dda46edb59622d85a1c
1 /*
3 * gPlanarity:
4 * The geeky little puzzle game with a big noodly crunch!
5 *
6 * gPlanarity copyright (C) 2005 Monty <monty@xiph.org>
7 * Original Flash game by John Tantalo <john.tantalo@case.edu>
8 * Original game concept by Mary Radcliffe
10 * gPlanarity is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2, or (at your option)
13 * any later version.
15 * gPlanarity is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with Postfish; see the file COPYING. If not, write to the
22 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
27 extern void arrange_verticies_circle(graph *g, float off1, float off2);
28 extern void arrange_verticies_polygon(graph *g, int sides, float angle, float rad,
29 int xoff, int yoff, float xa, float ya);
30 extern void arrange_verticies_polycircle(graph *g, int sides, float angle, float split,
31 int radplus,int xoff,int yoff);
33 extern void arrange_verticies_mesh(graph *g, int width, int height);
34 extern void arrange_verticies_nastymesh(graph *g, int w, int h, vertex **flat);
37 extern void arrange_region_star(graph *g);
38 extern void arrange_region_rainbow(graph *g);
39 extern void arrange_region_dashed_circle(graph *g);
40 extern void arrange_region_bifur(graph *g);
41 extern void arrange_region_dairyqueen(graph *g);
42 extern void arrange_region_cloud(graph *g);
43 extern void arrange_region_ring(graph *g);
44 extern void arrange_region_storm(graph *g);
45 extern void arrange_region_target(graph *g);
46 extern void arrange_region_plus(graph *g);
47 extern void arrange_region_hole3(graph *g);
48 extern void arrange_region_hole4(graph *g);
49 extern void arrange_region_ovals(graph *g);