File:  [WindowsNT SDKs] / q_a / samples / angle / 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: AngleArc Demonstration Program

Summary:

The sample named ANGLE provides a demonstration of how the
new AngleArc API function works. The X, Y, and RADIUS
parameters are all in the world coordinate space. The start
angle and sweep angle are floating-point values and are
interpreted as degrees.

More Information:

This program presents a dialog box stretched across the top
of the window. The user can set the parameters for the
AngleArc API function by changing the values in the entry
fields of this dialog box. A button on the dialog box then
allows the user to immediately see the results of these
values on the arc in the client area. If the values in the
entry field are invalid, the program will write out this
information and not draw the arc. The origin of the viewport
is shifted down in the client area so that it exists at the
upper-left corner of the viewable area.

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

   AngleArc       EndPaint       LoadIcon       SetWindowPos
   BeginPaint     GetClientRect  LineTo         ShowWindow
   CreateDialog   GetDlgItemInt  MoveToEx       TextOut
   CreatePen      GetMessage     PostQuitMessa  TranslateMess
                                 ge             age
   CreateWindow   GetStockObjec  SendMessage    UpdateWindow
                  t
   DeleteObject   InvalidateRec  SelectObject   WndClass
                  t
   DefWindowProc  IsWindow       SetDlgItemTex  
                                 t
   DispatchMessag LoadCursor     SetViewportOr  
   e                             gEx





unix.superglobalmegacorp.com

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