SYMBOLIZER_AREA,
SYMBOLIZER_TEXT,
SYMBOLIZER_LINEIMG,
+ SYMBOLIZER_DISABLED,
SYMBOLIZER_MAX,
};
void (*draw)(struct symbol *sym, struct svg *svg);
void (*gen)(struct osm_object *o, struct style_info *si, struct svg *svg);
void (*init)(void);
+ bool (*same_p)(struct symbol *x, struct symbol *y);
};
extern struct mempool *sym_mp;
void *sym_new(enum symbolizer_type type, struct osm_object *o, size_t size);
void sym_plan(struct symbol *sym, z_index_t zindex);
void sym_draw_all(struct svg *svg);
+void sym_for_all_planned(void (*callback)(struct symbol *s));
void sym_from_style(struct osm_object *o, struct style_results *sr, struct svg *svg);
z_index_t sym_zindex(struct osm_object *o, struct style_info *si, double default_mzi);
+bool sym_same_attrs_p(struct symbol *x, struct symbol *y);
+void sym_disable(struct symbol *s);
/* sym-point.c handles point symbols and icons */