C# Class csCommon.Plugins.MgrsGrid.DrawMgrsRaster

Afficher le fichier Open project: TNOCS/csTouch Class Usage Examples

Méthodes publiques

Méthode Description
DrawMgrsRaster ( MgrsConfig pConfig, MgrsViewport pMgrsGrid ) : System
Render ( System.Windows.Media.DrawingContext pDC ) : void

Entry point for rendering MGRS grid

Private Methods

Méthode Description
CellSizeInPixels ( MgrsBoundingBox pBoundingBox ) : Size
GetBoundingRect ( System.Windows.Media.FormattedText text ) : Rect
RenderMgrsCellLabels ( System.Windows.Media.DrawingContext pDC, MgrsBoundingBox pBoundingBox, double pNorth, double pEast, NorthEast pDirection ) : void
RenderMgrsCenterLabel ( System.Windows.Media.DrawingContext pDC, MgrsBoundingBox pBoundingBox, double pNorth, double pEast ) : void
RenderMgrsGrid ( System.Windows.Media.DrawingContext pDC ) : void
RenderMgrsGridCell ( System.Windows.Media.DrawingContext pDC, GridZone pCell ) : void
RenderPresicion ( System.Windows.Media.DrawingContext pDC ) : void
RenderUtmZoneLines ( System.Windows.Media.DrawingContext pDC ) : void
UTMtoLL ( double UTMNorthing, double UTMEasting, int UTMZoneNumber, GeoUtility.GeoSystem.Base.Geocentric pHemisphere ) : WGS84LatLongPoint

Method Details

DrawMgrsRaster() public méthode

public DrawMgrsRaster ( MgrsConfig pConfig, MgrsViewport pMgrsGrid ) : System
pConfig MgrsConfig
pMgrsGrid MgrsViewport
Résultat System

Render() public méthode

Entry point for rendering MGRS grid
public Render ( System.Windows.Media.DrawingContext pDC ) : void
pDC System.Windows.Media.DrawingContext
Résultat void