Make the geometric origin a per-reader property for thread safety

This commit is contained in:
Eric Fischer
2015-12-22 16:58:27 -08:00
parent 2fd00413cf
commit 228a4d6bb9
5 changed files with 41 additions and 26 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ struct draw {
typedef std::vector<draw> drawvec;
drawvec decode_geometry(char **meta, int z, unsigned tx, unsigned ty, int detail, long long *bbox);
drawvec decode_geometry(char **meta, int z, unsigned tx, unsigned ty, int detail, long long *bbox, unsigned initial_x, unsigned initial_y);
void to_tile_scale(drawvec &geom, int z, int detail);
drawvec remove_noop(drawvec geom, int type, int shift);
drawvec clip_point(drawvec &geom, int z, int detail, long long buffer);