Getting started with 2D graphics

The first part of this chapter presents example 2D graphics programs that compile and run in the CommonPoint application system. The programs show how easy it is to draw simple 3-D graphics into a view and perform a simple translation (move a graphic from one location in the view to another) using very few lines of code.

The examples also provide a brief overview of the basics to programming 2-D graphics. The remaining chapters of this book expand upon the basics by providing more details over what is covered here and by adding additional topics to show the full functionality provided.

The second part of this chapter under the heading "Data types" on page 35 briefly describes the underlying data types and classes upon which the geometry classes are based. This section should help you understand their design and provide further insight into the code examples of the first part.

Drawing made easy
Data types
Storage management

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker