Question: In 2D space, draw an xy coordinate system which centers the screen, 1. On this system, using mouse clicks through the interface, a point can

In 2D space, draw an xy coordinate system which centers the screen,

1. On this system, using mouse clicks through the interface, a point can be placed at the desired coordinate and this point can be selected and removed

2. By selecting through the menu, either DDA or Bresenham line algorithm is going to be used to draw a line between two points that can be placed by mouse

3. By selecting through the menu, either DDA or Bresenham line algorithm is going to be used to draw a circle where the first point created is the center of the circle and the second point created as the radius of the circle.

4. Using points, lines, circles and/or circle parts to draw more complex objects, which then can be selected and applied affine transformations(offset, rotate, scale etc.)

please give example answer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!