|
|
1.1 root 1: Sample: AngleArc Demonstration Program
2:
3: Summary:
4:
5: The sample named ANGLE provides a demonstration of how the
6: new AngleArc API function works. The X, Y, and RADIUS
7: parameters are all in the world coordinate space. The start
8: angle and sweep angle are floating-point values and are
9: interpreted as degrees.
10:
11: More Information:
12:
13: This program presents a dialog box stretched across the top
14: of the window. The user can set the parameters for the
15: AngleArc API function by changing the values in the entry
16: fields of this dialog box. A button on the dialog box then
17: allows the user to immediately see the results of these
18: values on the arc in the client area. If the values in the
19: entry field are invalid, the program will write out this
20: information and not draw the arc. The origin of the viewport
21: is shifted down in the client area so that it exists at the
22: upper-left corner of the viewable area.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.