mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 10:59:11 +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;
|
TPointDistFunc = function (const A, B: TPoint): Integer;
|
||||||
|
|
||||||
TTransformFunc = function (A: Double): Double of object;
|
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);
|
TChartUnits = (cuPercent, cuAxis, cuGraph, cuPixel);
|
||||||
|
|
||||||
|
@ -371,7 +371,6 @@ type
|
|||||||
strict private
|
strict private
|
||||||
type
|
type
|
||||||
TOnPoint = procedure (AXg, AXa: Double) of object;
|
TOnPoint = procedure (AXg, AXa: Double) of object;
|
||||||
TImageToGraph = function (AX: Integer): Double of object;
|
|
||||||
var
|
var
|
||||||
FAxisToGraphXr, FAxisToGraphYr, FGraphToAxisXr: TTransformFunc;
|
FAxisToGraphXr, FAxisToGraphYr, FGraphToAxisXr: TTransformFunc;
|
||||||
FCalc: TTransformFunc;
|
FCalc: TTransformFunc;
|
||||||
@ -382,7 +381,7 @@ type
|
|||||||
FExtentYMax: PDouble;
|
FExtentYMax: PDouble;
|
||||||
FExtentYMin: PDouble;
|
FExtentYMin: PDouble;
|
||||||
FGraphStep: Double;
|
FGraphStep: Double;
|
||||||
FImageToGraph: TImageToGraph;
|
FImageToGraph: TImageToGraphFunc;
|
||||||
FNearestPointParams: ^TNearestPointParams;
|
FNearestPointParams: ^TNearestPointParams;
|
||||||
FNearestPointResults: ^TNearestPointResults;
|
FNearestPointResults: ^TNearestPointResults;
|
||||||
FMakeDP: TMakeDoublePoint;
|
FMakeDP: TMakeDoublePoint;
|
||||||
|
Loading…
Reference in New Issue
Block a user