C# Class csCommon.Plugins.MgrsGrid.DrawMgrsRaster

Exibir arquivo Open project: TNOCS/csTouch Class Usage Examples

Public Methods

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

Entry point for rendering MGRS grid

Private Methods

Method 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 method

public DrawMgrsRaster ( MgrsConfig pConfig, MgrsViewport pMgrsGrid ) : System
pConfig MgrsConfig
pMgrsGrid MgrsViewport
return System

Render() public method

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