I have tested this function because I need to render complex polygons, however it don't work when some vertex of polygon are off screen.
For example, try to draw this rectangle
P1.x = 50; P1.y = -50;
P2.x = 100; P2.y = -50;
P3.x = 100; P3.y = 50;
P4.x = 50; P4.y = 50;
I have expected that this function render the part inside the screen but nothing is rendered. However, the original function FillPoly (that does not work with complex polygons) produce the expected result.
There are a bufix for this function?