Method | Description | |
---|---|---|
ClipResolutionToExtremes ( IList |
||
DetermineResolution ( double worldWidth, double worldHeight, double screenWidth, double screenHeight, ScaleMethod scaleMethod = ScaleMethod.Fit ) : double | ||
ZoomIn ( IList |
||
ZoomOut ( IList |
||
ZoomToBoudingbox ( Viewport viewport, double x1, double y1, double x2, double y2, double screenWidth, double screenHeight, ScaleMethod scaleMethod = ScaleMethod.Fit ) : void | ||
ZoomToBoudingbox ( double x1, double y1, double x2, double y2, double screenWidth, double screenHeight, double &x, double &y, double &resolution, ScaleMethod scaleMethod = ScaleMethod.Fit ) : void |
Method | Description | |
---|---|---|
Swap ( double &xMin, double &xMax ) : void |
public static ClipResolutionToExtremes ( IList |
||
resolutions | IList |
|
resolution | double | |
return | double |
public static DetermineResolution ( double worldWidth, double worldHeight, double screenWidth, double screenHeight, ScaleMethod scaleMethod = ScaleMethod.Fit ) : double | ||
worldWidth | double | |
worldHeight | double | |
screenWidth | double | |
screenHeight | double | |
scaleMethod | ScaleMethod | |
return | double |
public static ZoomIn ( IList |
||
resolutions | IList |
|
resolution | double | |
return | double |
public static ZoomOut ( IList |
||
resolutions | IList |
|
resolution | double | |
return | double |
public static ZoomToBoudingbox ( Viewport viewport, double x1, double y1, double x2, double y2, double screenWidth, double screenHeight, ScaleMethod scaleMethod = ScaleMethod.Fit ) : void | ||
viewport | Viewport | |
x1 | double | |
y1 | double | |
x2 | double | |
y2 | double | |
screenWidth | double | |
screenHeight | double | |
scaleMethod | ScaleMethod | |
return | void |
public static ZoomToBoudingbox ( double x1, double y1, double x2, double y2, double screenWidth, double screenHeight, double &x, double &y, double &resolution, ScaleMethod scaleMethod = ScaleMethod.Fit ) : void | ||
x1 | double | |
y1 | double | |
x2 | double | |
y2 | double | |
screenWidth | double | |
screenHeight | double | |
x | double | |
y | double | |
resolution | double | |
scaleMethod | ScaleMethod | |
return | void |