TAChart: Add ZeroDoublePoint constant

git-svn-id: trunk@21851 -
This commit is contained in:
ask 2009-09-25 01:01:13 +00:00
parent 0c54c5658c
commit 0cf1c8c60c
2 changed files with 2 additions and 2 deletions

View File

@ -112,6 +112,7 @@ const
'%1:.2f%% of %3:g', // smsLabelPercentTotal
'%4:g' // smsXValue
);
ZeroDoublePoint: TDoublePoint = (X: 0; Y: 0);
EmptyDoubleRect: TDoubleRect = (coords: (0, 0, 0, 0));
EmptyExtent: TDoubleRect =
(coords: (Infinity, Infinity, NegInfinity, NegInfinity));

View File

@ -1182,8 +1182,7 @@ begin
Unused(ADistFunc, APoint);
AIndex := 0;
AImg := Point(0, 0);
AValue.X := 0;
AValue.Y := 0;
Avalue := ZeroDoublePoint;
Result := false;
end;