• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

GDImage MAP (the project)

Started by Patrice Terrier, May 16, 2011, 11:44:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Patrice Terrier

GDImage MAP (GMAP.exe) is the SDK transposition of several WinDev projects, which made the success of GDImage in the PC-Soft community.

It is based on the use of the ZI_ZoomWindow property, that is well behaved to manipulate large maps or plans, altogether with the hability to display floating sprites hover the background, to represent GPS informations or architecture equipments.

The ZI_ZoomWindow property, adjusts automatically the size of the sprites floating hover the background, while zooming the display.

The project uses three GDImage controls:
(1) - The contact sheet, located on top of the main window, it allows selecting of a specific picture/project.
(2) - The main layer, that displays the active picture/project, it could be populated with sprites.
(3) - The thumb popup, contains a red rectangle (a sprite object) matching the size of the viewport, and the zoom slider.

Moving the viewport:
(A) - Inside of the main layer, you can use the scrollbars or the left mouse button to drag it around.
(B) - You can also drag the red rectangle inside of the thumb popup, and that would do exactly the same than (A).

Thumb popup:
Drag the caption to move the tool window to a new location.
Use the slider to zoom in/out the picture/project.

Sprite objects:
When they are sprites associated to a specific image, you can change their state with a double click of the left mouse button.
If they are unlocked, you can change their location, else you can only select them.

Bottom pannel:
Displays useful informations about the picture/project (from the left to the right):
- The mouse XY location when hover the main layer.
- The unique sprite ID #.
- The matching ID # label.
- The XY location of the top left corner matching the sprite ID # (when you put the mouse hover a specific sprite).

Horizontal splitters
- Top splitter, show/hide the contact sheet to give more room to the main layer.
- Bottom splitter, show/hide the bottom pannel to give more room to the main layer.

Note: You can add pictures of your own, just put them into the project "Map" folder.



Added:

See the new version Gmap2 here

...


Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Patrice Terrier

#1
GDImage MAP is able to handle pictures as big as 10000 x 10000 pixels.
However to keep the program responsive and save CPU resources, the API ZI_SetFromFileEx(ghZoomCtrl, (sFileName), 3000, 3000) is being used to resize the picture on the fly to 3000 pixels square, preserving the aspect ratio.

...

Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Patrice Terrier

The first post of this thread has been updated, to fix the ZIP file corruption caused by the "Server Collapse".

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com