diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-11-21 10:13:03 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-11-21 10:13:03 +0000 |
commit | 60d0ff139c391d82c518d12c02f40bcd4d73e79e (patch) | |
tree | d53b1003ce89f848edc328971ee41ef0ab4ad94d /navit/transform.h | |
parent | 7a98ed3ffed7c3c49fea751978ce5fc96cea71fd (diff) | |
download | navit-60d0ff139c391d82c518d12c02f40bcd4d73e79e.tar.gz |
Fix:Core:Made transformation more flexible
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2780 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/transform.h')
-rw-r--r-- | navit/transform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/navit/transform.h b/navit/transform.h index 6a0c21bcb..02a47e498 100644 --- a/navit/transform.h +++ b/navit/transform.h @@ -26,9 +26,12 @@ extern "C" { #include "coord.h" /* prototypes */ +enum attr_type; enum item_type; enum map_datum; enum projection; +struct attr; +struct attr_iter; struct coord; struct coord_geo; struct coord_geo_cart; @@ -39,6 +42,8 @@ struct transformation; struct transformation *transform_new(void); int transform_get_hog(struct transformation *this_); void transform_set_hog(struct transformation *this_, int hog); +int transform_get_attr(struct transformation *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter); +int transform_set_attr(struct transformation *this_, struct attr *attr); int transformation_get_order_base(struct transformation *this_); void transform_set_order_base(struct transformation *this_, int order_base); struct transformation *transform_dup(struct transformation *t); @@ -65,6 +70,7 @@ void transform_set_roll(struct transformation *this_, int roll); int transform_get_roll(struct transformation *this_); void transform_set_distance(struct transformation *this_, int distance); int transform_get_distance(struct transformation *this_); +void transform_set_scales(struct transformation *this_, int xscale, int yscale, int wscale); void transform_set_screen_selection(struct transformation *t, struct map_selection *sel); void transform_set_screen_center(struct transformation *t, struct point *p); void transform_get_size(struct transformation *t, int *width, int *height); |