Свойство | Type | Description | |
---|---|---|---|
ApproxNumberLargeTicks | float | ||
Mantissas | double[] | ||
SmallTickCounts | int[] |
Méthode | Description | |
---|---|---|
AdjustedWorldValue ( double world ) : double |
Adjusts a real world value to one that has been modified to reflect the Axis Scale and Offset properties.
|
|
Clone ( ) : object |
Deep copy of LinearAxis.
|
|
LinearAxis ( ) : System |
Default constructor.
|
|
LinearAxis ( |
Copy constructor
|
|
LinearAxis ( double worldMin, double worldMax ) : System |
Construct a linear axis with the provided world min and max values.
|
Méthode | Description | |
---|---|---|
DoClone ( |
Helper method for Clone.
|
|
DrawTicks ( |
Draws the large and small ticks [and tick labels] for this axis.
|
Méthode | Description | |
---|---|---|
DetermineLargeTickStep ( float physicalLength, bool &shouldCullMiddle ) : double |
Calculates the world spacing between large ticks, based on the physical axis length (parameter), world axis length, Mantissa values and MinPhysicalLargeTickStep. A value such that at least two TODO: This can be optimised a bit. |
|
DetermineNumberSmallTicks ( double bigTickDist ) : int |
Given the large tick step, determine the number of small ticks that should be placed in between.
|
|
Init ( ) : void | ||
WorldTickPositions_FirstPass ( Point physicalMin, Point physicalMax, List |
Determines the positions, in world coordinates, of the large ticks. When the physical extent of the axis is small, some of the positions that were generated in this pass may be converted to small tick positions and returned as well. If the LargeTickStep isn't set then this is calculated automatically and depends on the physical extent of the axis.
|
|
WorldTickPositions_SecondPass ( Point physicalMin, Point physicalMax, List |
Determines the positions, in world coordinates, of the small ticks if they have not already been generated.
|
public AdjustedWorldValue ( double world ) : double | ||
world | double | world value to adjust |
Résultat | double |
protected DoClone ( |
||
b | ||
a | ||
Résultat | void |
protected DrawTicks ( |
||
g | The graphics surface on which to draw. | |
physicalMin | Point | The physical position corresponding to the world minimum of the axis. |
physicalMax | Point | The physical position corresponding to the world maximum of the axis. |
labelOffset | object | out: offset from the axis to draw the axis label. |
boundingBox | object | out: smallest box that completely surrounds all ticks and associated labels for this axis. |
Résultat | void |
public LinearAxis ( |
||
a | The Axis to clone | |
Résultat | System |
public LinearAxis ( double worldMin, double worldMax ) : System | ||
worldMin | double | the world minimum value of the axis. |
worldMax | double | the world maximum value of the axis. |
Résultat | System |