Jump to content

GpiBeginInkPath

From EDM2
Revision as of 00:28, 11 September 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Undocumented function. Its purpose is to initiate the creation of an ink path, a feature used for drawing and manipulating shapes that are defined by a sequence of points.

Syntax

GpiBeginInkPath (hps, lPath, flOptions);

Parameters

hps (HPS) - input
Handle to the presentation space. This handle defines the graphics context in which the path will be drawn.
lPath (LONG) - input
flOptions (ULONG) - input
A flag that specifies options for the ink path. This can be set to 0.

Return

rc (BOOL) - return
A value indicating the success or failure of the function call. A return value of 1 indicates success, while a return value of 0 indicates an error.

Remarks

GpiBeginInkPath must be called before any drawing functions that define the points of the path, such as GpiMove or GpiLine. The path is considered "open" after this call. The path is concluded by a call to GpiEndInkPath, which closes the path and can be used to render the final shape.

Related Methods