Method | Description | |
---|---|---|
Clone ( ) : object |
Deep Copy of the LogAxis.
|
|
LogAxis ( ) : System |
Default constructor.
|
|
LogAxis ( |
Copy Constructor
|
|
LogAxis ( double worldMin, double worldMax ) : System |
Constructor
|
|
PhysicalToWorld ( |
Return the world coordinate of the projection of the point p onto the axis.
|
|
WorldToPhysical ( double coord, |
World to physical coordinate transform. TODO: make Reversed property work for this. |
Method | Description | |
---|---|---|
DoClone ( |
Helper method for Clone (actual implementation)
|
|
DrawTicks ( |
Draw the ticks.
|
Method | Description | |
---|---|---|
CalcGrids ( double dLenAxis, int nNumDivisions, double &dDivisionInterval ) : void | ||
DetermineNumberSmallTicks ( double bigTickDist ) : int |
Determines the number of small ticks between two large ticks.
|
|
DetermineTickSpacing ( ) : double |
Determines the tick spacing.
|
|
Init ( ) : void | ||
WorldTickPositions_FirstPass ( Point physicalMin, Point physicalMax, |
Determines the positions, in world coordinates, of the log spaced large ticks.
|
|
WorldTickPositions_SecondPass ( Point physicalMin, Point physicalMax, |
Determines the positions, in world coordinates, of the small ticks if they have not already been generated.
|
protected DoClone ( |
||
b | The cloned object. | |
a | The original object to clone. | |
return | void |
protected DrawTicks ( |
||
g | The drawing surface on which to draw. | |
physicalMin | Point | The minimum physical extent of the axis. |
physicalMax | Point | The maximum physical extent of the axis. |
labelOffset | object | out: a suitable offset from the axis to draw the axis label. |
boundingBox | object | out: smallest box that completely encompasses all of the ticks and tick labels. |
return | void |
public LogAxis ( double worldMin, double worldMax ) : System | ||
worldMin | double | Minimum World value for the axis. |
worldMax | double | Maximum World value for the axis. |
return | System |
public PhysicalToWorld ( |
||
p | The point to project onto the axis | |
physicalMin | The physical position corresponding to the world minimum of the axis. | |
physicalMax | The physical position corresponding to the world maximum of the axis. | |
clip | bool | If true, the world value will be clipped to WorldMin or WorldMax as appropriate if it lies outside this range. |
return | double |
public WorldToPhysical ( double coord, |
||
coord | double | The coordinate value to transform. |
physicalMin | The physical position corresponding to the world minimum of the axis. | |
physicalMax | The physical position corresponding to the world maximum of the axis. | |
clip | bool | if false, then physical value may extend outside worldMin / worldMax. If true, the physical value returned will be clipped to physicalMin or physicalMax if it lies outside this range. |
return |