diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-09-24 19:35:03 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-09-24 19:35:03 +0000 |
commit | 22db9cc2aee8b5ddd6fd6ee2b818e2b4d1704f6f (patch) | |
tree | 2593f6d5199ea1bab73aad55e28bd2f3b0e3d5b6 /navit/transform.h | |
parent | 36c0b9e1468ad877f760175c0ae6027ef55e186a (diff) | |
download | navit-22db9cc2aee8b5ddd6fd6ee2b818e2b4d1704f6f.tar.gz |
Fix:osd_core:Calculate map scale in screen center; (partial) fix for #985.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5240 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/transform.h')
-rw-r--r-- | navit/transform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/transform.h b/navit/transform.h index e274f9264..e7211cdf8 100644 --- a/navit/transform.h +++ b/navit/transform.h @@ -57,6 +57,7 @@ void transform_utm_to_geo(const double UTMEasting, const double UTMNorthing, int void transform_datum(struct coord_geo *from, enum map_datum from_datum, struct coord_geo *to, enum map_datum to_datum); int transform(struct transformation *t, enum projection pro, struct coord *c, struct point *p, int count, int mindist, int width, int *width_return); int transform_reverse(struct transformation *t, struct point *p, struct coord *c); +double transform_pixels_to_map_distance(struct transformation *transformation, int pixels); enum projection transform_get_projection(struct transformation *this_); void transform_set_projection(struct transformation *this_, enum projection pro); struct map_selection *transform_get_selection(struct transformation *this_, enum projection pro, int order); |