Rubber Banding in Wondows Mobile app

DanDanGong

New Member
Greetings all,

Has anyone came across a sample of how to do drawing using rubber banding in a windows mobile app?

I have a simple image that i will load and would like to draw lines and polygons. that all.

All i need is to identify the end points (x,y pairs of pixel coords) of lines or vertices of polygon.

Has anyone seen any examples of how to do that?

Looking forward to your responses.

Sincerely
 

wolfgang

Member
Licensed User
Longtime User
Rubber Banding

Hi DanDanGong,
you can play with this little app.
 

Attachments

  • rubberband_sin.sbp
    1.8 KB · Views: 443

klaus

Expert
Licensed User
Longtime User
Hi DanDanGong,

Here you have a small example of basic drawing on an image.
The program doesn't memorize nor save the x,y coordinates of the different points. It's a small version of this drawing program:
http://www.b4x.com/forum/share-your-creations/3945-draw-program-5.html
It's not that difficult to memorize the coordinates in arrays and save them. But you must not only memorize the x,y, coordinates but you must also memorise between what points you have a line.

For vector graphics that memorizes and saves the x,y coordinates, have a look at this program. Here the coordinates of the points are saved.
http://www.b4x.com/forum/share-your-creations/3674-scaled-maps.html

Best regards.
 
Last edited:
Top