You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the point of failure the X and Y values in AddLineSegment are 688, -2. Since these values are used as indices into a TIntegerMap the pointer value returned is outside the map and this pointer value is used in AddSegment causing the AV.
The problem can be reproduced with the Benchmark example.
The text was updated successfully, but these errors were encountered:
FOpacityMap (TFloatMap in VPR2 and TIntegerMap in VPR2X) is created and set to size, but not initialized with data. Both AddLineSegment and DrawBitmap are reading from the uninitialized map, causing rounding and overflow errors further down the line. Adding FOpacityMap.Clear after FOpacityMap.SetSize eliminates the errors, which indicates that the map needs to be initialized with proper data for the renderer to do its magic.
TPolygonRenderer32VPR2X
fails to render the following ellipse:Ellipse(691, 10, 3, 161)
on a bitmap with the dimensions 694, 333
Call stack:
The parameter values to
AddLineSegment
are in fixed format, but the floating point values are:688; 9,99997711181641; 688,005798339844; 0,0500000007450581
At the point of failure the X and Y values in
AddLineSegment
are 688, -2. Since these values are used as indices into aTIntegerMap
the pointer value returned is outside the map and this pointer value is used inAddSegment
causing the AV.The problem can be reproduced with the Benchmark example.
The text was updated successfully, but these errors were encountered: