请问多边形的填入方式,ALTERNATE和WINDING到底有什么区别?
最近在看《WINDOWS程序设计》看到多边形的填入方式时,有如题两种方式,但是我看英文版,解释我看的不是很懂,有没有高手能够用通俗易懂的话给我解释一下,谢谢!
附原文:
For alternate mode, you can imagine a line drawn from a point in an enclosed area to infinity. The enclosed area is filled only if that imaginary line crosses an odd number of boundary lines. This is why the points of the star are filled but the center is not.