[Lazarus] Compilation failed : PolygonNonZeroWindingRule unknown

Michael Van Canneyt michael at freepascal.org
Fri Jul 28 11:37:32 CEST 2023


Hi,

I updated my lazarus today, and the following fails:

procedure TLazCanvas.Polygon(const Points: array of TPoint; Winding: Boolean);
begin
   PolygonNonZeroWindingRule := Winding;
   inherited Polygon(Points);
end;

it does not know PolygonNonZeroWindingRule.

I removed that line, and all compiles, but I suppose this is not the correct
fix ?

Michael.


More information about the lazarus mailing list