]> git.cworth.org Git - akamaru/blobdiff - akamaru.h
Indent to 8 columns rather than 2
[akamaru] / akamaru.h
index cf7bf8b682412c6970706af7c020d5cd291efa1a..77f8d580646a4acf3ef09003295238fa50d4f18f 100644 (file)
--- a/akamaru.h
+++ b/akamaru.h
@@ -69,7 +69,7 @@ struct _Polygon {
   int num_points;
   Point *points;
   Vector *normals;
-  int edge;
+  int enclosing;
 };
 
 struct _Model {
@@ -108,10 +108,12 @@ void string_init (String *string, Object *a, Object *b, double length);
 void spacer_init (Spacer *spacer, Object *a, Object *b, double length);
 void anchor_init (Anchor *anchor, Object *object, double x, double y);
 
-void polygon_init (Polygon *p, int num_points, ...);
+void polygon_init (Polygon *p, int enclosing, int num_points, ...);
 void polygon_init_diamond (Polygon *polygon, double x, double y);
 void polygon_init_rectangle (Polygon *polygon, double x0, double y0,
                             double x1, double y1);
+void polygon_init_enclosing_rectangle (Polygon *polygon, double x0, double y0,
+                                      double x1, double y1);
 
 void model_fini (Model *model);