TAChart: Add common TImageToGraphFunc and TGraphToImageFunc types

git-svn-id: trunk@38789 -
This commit is contained in:
ask 2012-09-21 15:28:58 +00:00
parent cdecf4667d
commit 21b933340c
2 changed files with 3 additions and 2 deletions

View File

@ -66,6 +66,8 @@ type
TPointDistFunc = function (const A, B: TPoint): Integer;
TTransformFunc = function (A: Double): Double of object;
TImageToGraphFunc = function (AX: Integer): Double of object;
TGraphToImageFunc = function (AX: Double): Integer of object;
TChartUnits = (cuPercent, cuAxis, cuGraph, cuPixel);

View File

@ -371,7 +371,6 @@ type
strict private
type
TOnPoint = procedure (AXg, AXa: Double) of object;
TImageToGraph = function (AX: Integer): Double of object;
var
FAxisToGraphXr, FAxisToGraphYr, FGraphToAxisXr: TTransformFunc;
FCalc: TTransformFunc;
@ -382,7 +381,7 @@ type
FExtentYMax: PDouble;
FExtentYMin: PDouble;
FGraphStep: Double;
FImageToGraph: TImageToGraph;
FImageToGraph: TImageToGraphFunc;
FNearestPointParams: ^TNearestPointParams;
FNearestPointResults: ^TNearestPointResults;
FMakeDP: TMakeDoublePoint;