Drawing made easy

This example is based on the HelloWorld sample application that comes with the CommonPoint software. The HelloWorld.C file has all of the declarations and definitions needed to display a content view and default menu, and draw graphics into the view. To get the most out of these examples, you should sit down at your computer, check out the HelloWorld sample application, type in the code, compile, and run the program.

HelloWorld is based on the Presentation framework. The Presentation framework lets you display a view and a default menu in very few lines of code. To instantiate, manipulate, and draw 2-D graphics into the view, you override the TView::DrawContents function and add your code. See the heading "DrawContents function" on page 24 for the DrawContents implementation.


[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