Painting non-rectanglar point with Anti-Aliasing tool
Posted: Fri Feb 19, 2010 10:16 am
Version: Build 8.06.60902
Hereby I send a project that contains a chart with three series. The chart has an Anti-Aliasing tool attached and is active.
When you change the pointer type to anything other than rectangular shape (any non-horizontal line/non-vertical line in the pointer, example Circle or triangle) the IDE crashes.
Steps to reproduce:
Open the form in IDE
Right click on chart and select the option for series.
Select any series and alter the pointer style into a circle.
The IDE crashes.
I have traced the error and discovered that the application crashes on procedure TAntiAliasCanvas.LineTo(X, Y: Integer); line 988. When trying to determine the width of the bitmap it turns out that the bitmap is nil.
This crashes my entire IDE and I have to restart the IDE. Also at runtime this error occurs when you show the dialog to change the chart properies via the TeeCommander.
Hereby I send a project that contains a chart with three series. The chart has an Anti-Aliasing tool attached and is active.
When you change the pointer type to anything other than rectangular shape (any non-horizontal line/non-vertical line in the pointer, example Circle or triangle) the IDE crashes.
Steps to reproduce:
Open the form in IDE
Right click on chart and select the option for series.
Select any series and alter the pointer style into a circle.
The IDE crashes.
Code: Select all
procedure TAntiAliasCanvas.LineTo(X, Y: Integer);
.....
if ISolid then
begin
while (xs<x) and (xs<[b]Bitmap[/b].Width) do
begin
yt:=yt+k;
tmpYt:=Floor(yt);
This crashes my entire IDE and I have to restart the IDE. Also at runtime this error occurs when you show the dialog to change the chart properies via the TeeCommander.