AB4D Forum
Drawing Simple Shapes - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: ZoomPanel (https://forum.ab4d.com/forumdisplay.php?fid=8)
+--- Thread: Drawing Simple Shapes (/showthread.php?tid=38)



Drawing Simple Shapes - BadClone - 06-05-2010

Hi,

I haven't try the control yet but I would like to know if it supports drawing simple shapes (rectangles, circles, etc)? If it doesn't support it, can I extend the control to add it myself without buying the source code?

Can you also provide an example of the "dynamic and custom content" feature ?

Thank you


RE: Drawing Simple Shapes - abenedik - 06-05-2010

The ZoomPanel control does not support drawing shapes.

It is a panel that enables simple zooming and panning of its content.

If you will check out the samples that come with ZoomPanel you will find a sample drawing sample that currently enable only free hand drawing. It can be extended to add support for shapes.

There is also a sample of dynamic and custom content - it is meant for content that is dynamically generated based on the shown area - like maps, etc.