Drawing simple vector graphics
Posted: Mon Aug 27, 2012 10:37 pm
Hi there, as per title of this forum, I'm a beginner and I need to find a solution for the following:
I want users to draw basic forms - limited to lines, circles and rectangles - to make a simplified visual representation of their garden. They should be able to select the forms from a menu and position the element on a 'canvas'. Each element can get a name-tag and height attribute and should be size-able in either Metric or other format.
After the element is drawn, the user should be able to move, rotate or re-size the element and enter/edit its name tag.
Some attributes that are nice to have: repositioning element using
- snap function (make vertices of the rectangles/lines snap to other vertices nearby for better alignment)
- repositioning and rotating using values instead of 'by hand'
Can I achieve this in LiveCode? Is there a tutorial, explanation, script, plugin available that I can use?
Thanks,
Erwin
I want users to draw basic forms - limited to lines, circles and rectangles - to make a simplified visual representation of their garden. They should be able to select the forms from a menu and position the element on a 'canvas'. Each element can get a name-tag and height attribute and should be size-able in either Metric or other format.
After the element is drawn, the user should be able to move, rotate or re-size the element and enter/edit its name tag.
Some attributes that are nice to have: repositioning element using
- snap function (make vertices of the rectangles/lines snap to other vertices nearby for better alignment)
- repositioning and rotating using values instead of 'by hand'
Can I achieve this in LiveCode? Is there a tutorial, explanation, script, plugin available that I can use?
Thanks,
Erwin