Inheritance diagram for NPlot::AxesConstraint::YPixelWorldLength:
Public Member Functions | |
YPixelWorldLength (double p) | |
Constructor, which defines the world pixel length only. | |
YPixelWorldLength (double p, PlotSurface2D.XAxisPosition holdFixedX) | |
Constructor, which defines the world pixel length together with the x-axis that should be held constant when forcing this constraint [the other x-axis only will be moved]. | |
override void | ApplyConstraint (PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2) |
Applies the constraint to the axes. | |
Private Attributes | |
double | pWorldLength_ = 0.0 |
object | holdFixedX_ = null |
TODO: Allow the pixel world length to be set for the right axis.
Definition at line 155 of file AxesConstraint.cs.
|
Constructor, which defines the world pixel length only. Both x-axes will be moved by equal amounts in order to force this constraint.
Definition at line 166 of file AxesConstraint.cs. |
|
Constructor, which defines the world pixel length together with the x-axis that should be held constant when forcing this constraint [the other x-axis only will be moved].
Definition at line 178 of file AxesConstraint.cs. |
|
Applies the constraint to the axes.
Implements NPlot::AxesConstraint. Definition at line 192 of file AxesConstraint.cs. References NPlot::PhysicalAxis::Axis, holdFixedX_, NPlot::PhysicalAxis::PhysicalLength, NPlot::PhysicalAxis::PhysicalMax, NPlot::PhysicalAxis::PhysicalMin, and NPlot::Axis::WorldLength. |
|
Definition at line 158 of file AxesConstraint.cs. Referenced by ApplyConstraint(). |
|
Definition at line 157 of file AxesConstraint.cs. |