]> mj.ucw.cz Git - leo.git/blobdiff - labeller.h
Labelling: Variants may have offset
[leo.git] / labeller.h
index d82e830fee1333433ecb2334872b2090cb4cb8f0..e0088173446a392a2f6a4661bd17310b3caa423f 100644 (file)
@@ -31,6 +31,8 @@ struct variant
 {
   int width;
   int height;
+  int offset_x;
+  int offset_y;
   bool *bitmap;
 };
 
@@ -61,7 +63,7 @@ struct request_segment
   double y1;
   double x2;
   double y2;
-  double angle;
+  double slope;
   struct symbol *label;
   z_index_t zindex;
 };
@@ -143,6 +145,7 @@ struct placement
   double x;
   double y;
   int variant_used;
+  int ind;
   bool processed;
   // FIXME: Replace with clist?
   struct placement_link *map_links;