|
||
IDRAW Command (Interactive Drawing)
All of the interactive drawing commands can be invoked with the IDRAW command. Here are the most common formats for the command: |
|
|||
|
|
|||
Since the user has the opportunity to escape from any of these commands, a program must be able to detect whether the user successfully completed the task. Here is one strategy for accomplishing this: create a new (empty) object; IDRAW; check to see if the object is empty. The code might appear similar to the following example:
|
|