mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 20:59:36 +02:00
TAChart: Add common TImageToGraphFunc and TGraphToImageFunc types
git-svn-id: trunk@38789 -
This commit is contained in:
parent
cdecf4667d
commit
21b933340c
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user