|
|
1.1 ! root 1: Sample: Using Graphic Paths Demonstration ! 2: ! 3: Summary: ! 4: ! 5: The PATHS sample demonstrates the use of paths for drawing, ! 6: filling, and clipping. The program draws six different ! 7: figures in the window and labels each one. Each figure is ! 8: based on the same path re-created six times. The six figures ! 9: are the result of calling the following Windows functions ! 10: (with the poly fill mode in parentheses): ! 11: ! 12: StrokePath ! 13: FillPath ! 14: StrokeAndFill(Winding) ! 15: StrokeAndFill(Alternate) ! 16: SelectClipPath(Winding) ! 17: SelectClipPath(Alternate) ! 18: ! 19: More Information: ! 20: ! 21: The following is a list of the Win32 API functions used in ! 22: this sample: ! 23: ! 24: AngleArc EndPath PostQuitMessa TextOut ! 25: ge ! 26: BeginPaint FillPath Rectangle TranslateMess ! 27: age ! 28: BeginPath GetClientRect SelectClipRgn UpdateWindow ! 29: CopyRect GetMessage SelectObject ! 30: CreatePen GetStockObjec SetBkMode ! 31: t ! 32: CreateWindow InflateRect SetPolyFillMo ! 33: de ! 34: DeleteObject LoadCursor SetViewportOr ! 35: gEx ! 36: DispatchMessa LoadIcon ShowWindow ! 37: ge ! 38: Ellipse MoveToEx StrokeAndFill ! 39: Path ! 40: EndPaint PathToRegion StrokePath ! 41: ! 42: ! 43:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.