I have to draw circles/dots (3D look) with a 2-digit number in the center. How do I do this in TImageEnVect using objects that corresponds to the font size and the zoom value?
My Ebook has a demo "Spots and Text" that shows how to add an "ellipse" object and a "text" object to ImageEnVect. The demo shows how to combine two vectorial objects into one selectable and moveable object.
It does not use 3D however as imageen does not support 3D drawing.
The demo is about 500 lines of code so I am unable to post it here. The demo displays the text next to the "spot" so you would have to modify it a little to lineup the text on top of the spot.
I just made a "numbered spots demo" from my "spots and text demo": 48.78 KB Are your spots selectable, moveable and resizeable? The spots do zoom with zoom.
You could also use a bitmap object for a 3D spot instead of the ellipse object and just use the text object to number the spots.
Is there a maximum number of spots allowed or is the number of spots unlimited?
Thanks William for the info. The spots can be of any number, so yes, it is unlimited. Can the spots be filled with a gradient giving it more of a 3D look? I think centering the number text in the spot is an issue for me since the font must correspond to the size of the spot object. Any help you can provide is very much appreciated.
This uses a bitmap object for the dot. The font size and the bitmap object size will only become problematic if there are more than 3 digits. After that the bitmap will have be resized to accommodate the text. Are your spots selectable, moveable and resizable? How is this?
If you want a different bitmap, send it to me for testing. 45.41 KB