|
|
Microsoft Windows NT Build 297 06-28-1992
Sample: Using Graphic Paths Demonstration
Summary:
The PATHS sample demonstrates the use of paths for drawing,
filling, and clipping. The program draws six different
figures in the window and labels each one. Each figure is
based on the same path re-created six times. The six figures
are the result of calling the following Windows functions
(with the poly fill mode in parentheses):
StrokePath
FillPath
StrokeAndFill(Winding)
StrokeAndFill(Alternate)
SelectClipPath(Winding)
SelectClipPath(Alternate)
More Information:
The following is a list of the Win32 API functions used in
this sample:
AngleArc EndPath PostQuitMessa TextOut
ge
BeginPaint FillPath Rectangle TranslateMess
age
BeginPath GetClientRect SelectClipRgn UpdateWindow
CopyRect GetMessage SelectObject
CreatePen GetStockObjec SetBkMode
t
CreateWindow InflateRect SetPolyFillMo
de
DeleteObject LoadCursor SetViewportOr
gEx
DispatchMessa LoadIcon ShowWindow
ge
Ellipse MoveToEx StrokeAndFill
Path
EndPaint PathToRegion StrokePath
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.