Solved

Say That You Want to Construct a Tiny Drawing Program

Question 68

Essay

Say that you want to construct a tiny drawing program, where the objects are defined using line segments. One might use the rubber-banding ideas presented in this chapter to define the endpoints of line segments, hooking them together into a polyline. One might provide a button that turns a polyline into a polygon. If this approach is taken, what would be a good way to represent the data involved in this program: the points, the line segments, the polylines, the polygons?

Correct Answer:

verifed

Verified

One good way to store the required data ...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents