Does anyone know how to simulate a drawing tool like this?
[list]
[]Arrow tool: does not produce any drawing. It desativate the use of the last drawing tool selected
[]Line tool: it draws lines ________
[]Free tool: freehand way to draw
[]Erase tool: when it is clicked, erases all the drawing
[*]Color selection: when the line and free tools are selected, it displays 4 diferent color boxes for the user to choose (red, yellow, white and black).
[/list]
Correct if I`m wrong. I would have to create diferent function and when a tool is selected, it calls that specific function! If this is right, does anyone have a tip or have seen some tutorial like this?
And example of erasing would be the same as the freehand drawing, but the color of the line should be the same color as your background (i highly recommend a solid color background for your drawing surface).
Color selection would be using variables to store what color it should be and using that in the drawing API script.
The arrow tool would just be not using any of the previous methods
Is it possible to mix the code you just commented and the freehand drawing?
If I just click in different points it draws a straigh line and if the mouse in down and moves, it creates free form drawings?
Am I planning on going to university?
I wanted to, but didn’t get accepted to any university because my high school jipped me out of a proper math education. Long story.
Do I work in a design company or do I freelance?
Erm, neither. I would love to work in a design company, that would totally rock. As for freelance, I often think about it, but sometimes I have my doubts on how good I am (i know i know) and I often talk myself out of it.