]> mj.ucw.cz Git - leo.git/blobdiff - sym.h
Symbolizers may visually compare two symbols
[leo.git] / sym.h
diff --git a/sym.h b/sym.h
index cb4ac122713abf0c393d7c63bbcbcd4863f4ca5f..53ba3fa3b8fbc266b0f743cba664d8e04e086086 100644 (file)
--- a/sym.h
+++ b/sym.h
@@ -34,6 +34,7 @@ struct symbolizer {
   void (*gen)(struct osm_object *o, struct style_info *si, struct svg *svg);
   void (*init)(void);
   struct symbol* (*copy)(struct symbol *sym);
+  bool (*look_same)(struct symbol *s1, struct symbol *s2);
 };
 
 extern struct mempool *sym_mp;
@@ -60,6 +61,7 @@ void sym_from_style(struct osm_object *o, struct style_results *sr, struct svg *
 z_index_t sym_zindex(struct osm_object *o, struct style_info *si, double default_mzi);
 
 struct symbol * sym_copy(struct symbol *sym);
+bool sym_look_same(struct symbol *s1, struct symbol *s2);
 
 /* sym-point.c handles point symbols and icons */