Export (0) Print
Expand All

GetPolyFillMode function

The GetPolyFillMode function retrieves the current polygon fill mode.

Syntax


int GetPolyFillMode(
  _In_  HDC hdc
);

Parameters

hdc [in]

Handle to the device context.

Return value

If the function succeeds, the return value specifies the polygon fill mode, which can be one of the following values.

ValueMeaning
ALTERNATESelects alternate mode (fills area between odd-numbered and even-numbered polygon sides on each scan line).
WINDINGSelects winding mode (fills any region with a nonzero winding value).

 

If an error occurs, the return value is zero.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Regions Overview
Region Functions
SetPolyFillMode

 

 

Community Additions

ADD
Show:
© 2014 Microsoft