Recent

Author Topic: FilterTwirl unhandled exception  (Read 248 times)

BubikolRamios

  • Sr. Member
  • ****
  • Posts: 333
FilterTwirl unhandled exception
« on: January 11, 2025, 05:56:30 am »
I guess it is not anticipated anything < 0 (results looks to me not opposite of positive numbers)

Quote

Project project1 raised exception class 'External: FLT INVALID OPERATION'.


Code: Pascal  [Select][+][-]
  1.  function FilterTwirl(ABounds: TRect; ACenter: TPoint; ARadius: Single; ATurn: Single=1; AExponent: Single=3; ACopyProperties: Boolean=False): TBGRABitmap; overload; override;                        
  2.  
                     

at AExponent = -17, going from 0,-1,-2, .... just fine. Positive numbers are as it seems all ok.

lazarus 3.2-fpc-3.2.2-win32/win64

 

TinyPortal © 2005-2018