PathDraw
(Engine-Level Function)
Pen | ||||||||||||
Required. Defines the color, style and width of the path. May be any of the following:
|
||||||||||||
Brush | ||||||||||||
Required. Defines the fill color of a closed figure or the color of a pipe. May be any of the following:
|
Comments: |
Do not confuse PathDraw with the function DrawPath(). This function will work only inside the context of a window with the Drop Target bit (22) set. The path may have multiple vertices. If the function stops during drawing, no portion will be drawn. When drawing a pipe, set the style for the Pen() to 100. |
Examples:
Render a path as a narrow black line:
PathDraw(Pen(("<FFFFFFFF>", 1, 1), Brush(("<FF000000>", 0, 1));
Render a path as a pipe:
PathDraw(Pen("<FF80FF80>", 100, 29), Brush(-1, 0, 1));