Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getpolyfillmode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetPolyFillMode()
Return the mode used for polygon filling
------------------------------------------------------------------------------

Syntax
GetPolyFillMode( <hDC> )   -->   nMode

Arguments
<hDC> specifies the device context for a window.

Returns
The return value is an integer, with value either ALTERNATE or
WINDING (defined in WINDOWS.CH).

Description
The polygon filling mode determines the way polygons are
treated:

     ALTERNATE      the area between odd-numbered and even-numbered
                    polygon sides is filled on each scan line

     WINDING        the direction in which a shape was drawn is used
                    to decide how to fill an area; you'll want to
                    experiment!

Example
? "Current mode", GetPolyFillMode( hDC )


See Also: GetDC() Polygon() SetPolyFillMode()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson