File:  [WindowsNT SDKs] / q_a / samples / bezier / readme
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:29:19 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-jun-1992, HEAD
Microsoft Windows NT Build 297 06-28-1992

 Sample: PolyBezier Demonstration

Summary:

The BEZIER sample provides an easy to use demonstration of
how the PolyBezier function works. The user can place points
in the window with the left mouse button. The user can also
move these points by dragging with the same mouse button.
The PolyBezier curve is drawn dynamically to follow the
position of the new points.

More Information:

In order to use this program, press the left mouse button at
miscellaneous places in the client area. A Polyline call
shows exactly where the points were put. When there are 4,
7, 10, ..., (3n+1) points on the screen, the PolyBezier
curve is drawn with these as control points. The API itself
does not draw anything if there are some other number of
points. The whole client area may be erased by pressing the
right mouse button.

The following is a list of the Win32 API functions used in
the sample:

   BeginPaint     GetCapture     MessageBox     SelectObject
   CreatePen      GetDC          PolyBezier     SetCapture
   CreateWindow   GetMessage     PolyLine       ShowWindow
   DeleteObject   GetStockObjec  PostQuitMessa  TranslateMessa
                  t              ge             ge
   DispatchMessa  InvalidateRec  PtInRect       UpdateWindow
   ge             t
   EndPaint       LoadCursor     Rectangle      
                  LoadIcon       ReleaseDC      



unix.superglobalmegacorp.com

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