Friday, March 1, 2019

Drawing circle and rectangle 2/19

Describe how the Allegro draw circle and draw rectangle functions work. What parameters do they take and how do they impact the shape drawn?
 For the circle, you need the x and y coordinate and then the radius, the color and then the thickness. 
For the rectangle, you need the first  x coordinate, the y position, and then the second x coordinate , and then the second y position. You need to have correct coordinate or it will look wonky. 

No comments:

Post a Comment