The vector images numbers are the coordinates of the vector start/end x/y values, relative to the dialog box tile coordinate system.
- ([color=blue][b]vector_image[/b][/color] [color=green][b]x1 [color=red]y1[/color] x2 [color=red]y2[/color] [color=purple]colour[/color][/b][/color])
Hence all objects must be approximated by a series of vectors and the coordinates of the endpoints of such vectors translated relative the the dialog tile in which the origin is the top left corner.
You can also get the dimensions of the tile so that you know the viewing limits of the tile coordinate system using dimx_tile and dimy_tile. With this information you can scale the coordinates of your objects to fit within the tile.
There are quite a few program out there that will calculate the vectors, Terry's being one of them. I've also written one that gives me a little extra control over the alignment of the image in the tile.
Lee |