Skip to content

Latest commit

 

History

History
107 lines (73 loc) · 3.49 KB

nf-winddi-engfillpath.md

File metadata and controls

107 lines (73 loc) · 3.49 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winddi.EngFillPath
EngFillPath function (winddi.h)
The EngFillPath function fills a path.
EngFillPath
EngFillPath function [Display Devices]
display.engfillpath
gdifncs_5128f1e3-265b-4570-8504-1782a07268d5.xml
winddi/EngFillPath
display\engfillpath.htm
display
81c4ae89-391c-482b-b5dc-ef34d41607a1
12/05/2018
EngFillPath, EngFillPath function [Display Devices], display.engfillpath, gdifncs_5128f1e3-265b-4570-8504-1782a07268d5.xml, winddi/EngFillPath
winddi.h
Winddi.h
Universal
Available in Windows 2000 and later versions of the Windows operating systems.
Win32k.lib
Win32k.sys
Windows
19H1
EngFillPath
winddi/EngFillPath
c++
APIRef
kbSyntax
DllExport
Win32k.sys
EngFillPath

EngFillPath function

-description

The EngFillPath function fills a path.

-parameters

-param pso

Pointer to a SURFOBJ structure that describes the surface on which to draw.

-param ppo

Pointer to a PATHOBJ structure that defines the path to be filled. Use the PATHOBJ_Xxx service routines to enumerate the lines, Bezier curves, and other data that make up the path.

-param pco

Pointer to a CLIPOBJ structure. Use the CLIPOBJ_Xxx service routines to enumerate the clip region as a set of rectangles.

-param pbo

Pointer to a BRUSHOBJ structure that defines the pattern and colors with which to fill.

-param pptlBrushOrg

Pointer to a POINTL structure defining the brush origin to use to align the brush pattern on the device.

-param mix [in]

Defines the foreground and background raster operations to use for the brush.

-param flOptions [in]

Specifies the mode to use when filling the path. This value should be FP_WINDINGMODE or FP_ALTERNATEMODE. All other flags should be ignored. For more information about these modes, see Path Fill Modes.

-returns

The return value is TRUE if GDI is able to fill the path. Otherwise, it is FALSE, and an error code is not logged. If an error is encountered, the return value is FALSE, and an error code is logged.

-remarks

Whenever GDI fills a path on a device-managed surface, it can call this entry point depending on a comparison of the fill requirements and the following GCAPS bits: GCAPS_BEZIERS, GCAPS_ALTERNATEFILL, and GCAPS_WINDINGFILL.

-see-also

BRUSHOBJ

CLIPOBJ

PATHOBJ

SURFOBJ