[Lazarus] Compilation failed : PolygonNonZeroWindingRule unknown

Michael Van Canneyt michael at freepascal.org
Fri Jul 28 15:10:29 CEST 2023



On Fri, 28 Jul 2023, Werner Pamler via lazarus wrote:

> Am 28.07.2023 um 11:37 schrieb Michael Van Canneyt via lazarus:
>> 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 ?
> Last time there was a complaint about this I checked all combinations I have 
> access to, and it was working. You are talking of Laz/main? In combination 
> with which FPC? And on which OS? Did you try a *clean *rebuild of the Lazarus 
> IDE?

It is Laz/Main (updated today), FPC 3.2.2 and clean rebuild 
(I have the option 'clean always' set in the lazarus build config).

Where is this PolygonNonZeroWindingRule supposed to be defined ?

Michael.


More information about the lazarus mailing list