Thread: dzImage Library
View Single Post
  #23 (permalink)  
Old 12-29-2007, 05:09 PM
derez derez is offline
Senior Member
 
Join Date: May 2007
Posts: 156
Awards Showcase
Competition Winner 
Total Awards: 1
Default

Dimitris
I am afraid to ask for anything because you just sit down to work on it.
The fast rotate is fast and I managed to have the map oriented with the heading quite quickly.
I am still fighting with the size of the result because, if I understand correctly, the copying to the form may change the size, not to let the image "spill over the sides".
In my program I drawimage the map, after sizing it to the required size, with the left top corner somewhere above and to the left of the form. This way the form gets the part of the map which it should get according to the right position. I use drawimage because I need the x,y,width and height definitions, but drawimage works on forms only.
When I rotate the image from the form - it works only on the part that is on the form, while I need also the surrounding parts which should be on the form after the rotation. If there is a way to do it I will not have to play with the resizing.
Take few days off before you answer...

Robert
This program works with raster maps, not vectors, and is for off-road navigation. The program I saw doing it is for the same use, actually I "borrowed" some ideas from it. That program was for WM 2003 and is not maintained any more.
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote