1
Ask a Question / Drawing a line at an angle
« on: August 08, 2019, 01:08:14 pm »
I would appreciate any help on this, my brain is too tired to get this right.
I want to draw a line from a set starting point on screen (eg, 320,240) for 100 pixels at an angle of 36degrees
i can't see a code block to do the angle part...?
i suspect i need to calculate the end point first then draw a line to it directly
I want to draw a line from a set starting point on screen (eg, 320,240) for 100 pixels at an angle of 36degrees
i can't see a code block to do the angle part...?
i suspect i need to calculate the end point first then draw a line to it directly