Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GreFillPath fills the interior of the closed figure defined in the path by using the current pattern attributes. Before filling the path, the handling routine must close any open figures in the path definition. On completion, it must delete the path. All of the boundaries of the area are considered to be part of the interior and are filled.
This function can be hooked by the presentation driver.
#define INCL_GRE_PATHS #include <os2.h> HDC hdc; /* Device context handle. */ LONG idPath; /* Path ID. It must be 1. */ ULONG flOptions; /* Option flags. */ PVOID pInstance; /* Pointer to instance data. */ ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreFillPath. */ LONG rc; /* Return codes. */ rc = GreFillPath(hdc, idPath, flOptions, pInstance, lFunction);