C# Class SuperMap.WinRT.Utilities.ScaleHelper

${utility_ScaleHelper_Title}

${utility_ScaleHelper_Description}

Exibir arquivo Open project: SuperMap/iClient-for-Win8

Public Methods

Method Description
GetSmDpi ( Rectangle2D referViewBounds, Rect referViewer, double referScale, CoordinateReferenceSystem crs ) : double

${utility_ScaleHelper_method_GetSmDpi_D}

${utility_ScaleHelper_method_GetSmDpi_remarks}

ScaleConversion ( double input, double dpi, CoordinateReferenceSystem crs ) : double

${utility_ScaleHelper_method_ScaleConversion_D}

Private Methods

Method Description
CheckAndSortResolutions ( double resolutions ) : double[]
CheckAndSortScales ( double scales ) : double[]
CheckResolutionsMatching ( double mapResArray, double layerResArray ) : void
ConversionBetweenScalesAndResulotions ( double temp, double dpi, CoordinateReferenceSystem crs ) : double[]

Method Details

GetSmDpi() public static method

${utility_ScaleHelper_method_GetSmDpi_D}
${utility_ScaleHelper_method_GetSmDpi_remarks}
public static GetSmDpi ( Rectangle2D referViewBounds, Rect referViewer, double referScale, CoordinateReferenceSystem crs ) : double
referViewBounds SuperMap.WinRT.Core.Rectangle2D ${utility_ScaleHelper_method_GetSmDpi_param_referViewBounds}
referViewer Rect ${utility_ScaleHelper_method_GetSmDpi_param_referViewer}
referScale double ${utility_ScaleHelper_method_GetSmDpi_param_referScale}
crs CoordinateReferenceSystem ${utility_ScaleHelper_method_GetSmDpi_param_crs}
return double

ScaleConversion() public static method

${utility_ScaleHelper_method_ScaleConversion_D}
public static ScaleConversion ( double input, double dpi, CoordinateReferenceSystem crs ) : double
input double ${utility_ScaleHelper_method_ScaleConversion_param_input}
dpi double ${utility_ScaleHelper_method_ScaleConversion_param_dpi}
crs CoordinateReferenceSystem ${utility_ScaleHelper_method_ScaleConversion_param_crs}
return double