Prev Next

GetPolyFillMode info  Overview  Group

The GetPolyFillMode function retrieves the current polygon fill mode.

int GetPolyFillMode(

    HDC hdc 

// handle of device context

   );

Parameters

hdc
Identifies the device context.

Return Values

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

Value

Meaning

ALTERNATE

Selects alternate mode (fills area between odd-numbered and even-numbered polygon sides on each scan line).

WINDING

Selects winding mode (fills any region with a nonzero winding value).

If an error occurs, the return value is zero. To get extended error information, call GetLastError.

See Also

SetPolyFillMode