File:  [WindowsNT SDKs] / q_a / samples / polydraw / readme.txt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:45 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

Sample: PolyDraw Function Demonstration

Summary:

The POLYDRAW SDK sample provides an easy-to-use
demonstration of how the PolyDraw Win32 API function works.
The user can place points in the window with the left mouse
button, and move these points by dragging with the same
mouse button. The PolyDraw curve is drawn dynamically to
follow the position of the new points.

More Information:

To use this program, click the left mouse button at
miscellaneous places in the client area. A Polyline call
shows exactly where the points were put. By default, the
type entered into the type array is PT_LINETO. This can be
changed to a PT_MOVETO type by holding down the SHIFT key.
It can be changed to a PT_BEZIERTO type by holding down the
CTRL key. The resulting purple curve shows the results.
There will be no curve when the bezier points do not come in
groups of 4, 7, ... , (3n+1).

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.