The data model, view, and user interface for a graphical editor such as a drawing program can be created using GrafEdit and the appropriate graphics classes, or by using the Desktop frameworks and the appropriate graphics classes. If your program is not a graphical editor, you probably want to use the Desktop frameworks. GrafEdit is based on the Desktop frameworks and specifically designed for creating graphical editing programs that involve drawing, selecting, and interacting with 2-D and 3-D graphics.
Whether or not you use GrafEdit is entirely up to you. Using GrafEdit means you write less code, but have less flexibility. Using the Desktop frameworks means you write more code, but have more flexibility. GrafEdit is described in another volume. Figure 10 illustrates these concepts.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.