gpi12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GpiStrokePath (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_GPIPATHS
 
LONG GpiStrokePath(hps, lPath, flOptions)
HPS hps;            /* presentation-space handle */
LONG lPath;         /* stroke path               */
ULONG flOptions;    /* reserved                  */
 
The GpiStrokePath function strokes a path and then draws it using the area
attributes. This function first converts the path to one describing the
envelope of a wide line stroked using the current geometric wide-line
attribute (see the GpiSetLineWidthGeom function).
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hps        Identifies a presentation space.
 
lPath      Specifies the path to stroke.
 
flOptions  Specifies a reserved value; it must be zero.
 
Return Value
 
The return value is GPI_OK or GPI_HITS if the function is successful (it is
GPI_HITS if the detectable attribute is set for the presentation space and a
correlation hit occurs). The return value is GPI_ERROR if an error occurs.
 
See Also
 
GpiBeginPath, GpiEndPath, GpiModifyPath, GpiSetLineWidthGeom