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);
+ struct symbol *(*clone)(struct symbol *src);
};
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_for_all_planned(void (*callback)(struct symbol *s, z_index_t zindex));
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);
+struct symbol *sym_clone(struct symbol *s);
/* sym-point.c handles point symbols and icons */