C# Class SuperMap.WindowsPhone.Utilities.ScaleHelper

${WP_utility_ScaleHelper_Title}

${WP_utility_ScaleHelper_Description}

Mostrar archivo Open project: SuperMap/iClient-for-Win8

Public Methods

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

${WP_utility_ScaleHelper_method_GetSmDpi_D}

${WP_utility_ScaleHelper_method_GetSmDpi_remarks}

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

${WP_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

${WP_utility_ScaleHelper_method_GetSmDpi_D}
${WP_utility_ScaleHelper_method_GetSmDpi_remarks}
public static GetSmDpi ( Rectangle2D referViewBounds, Rect referViewer, double referScale, CoordinateReferenceSystem crs ) : double
referViewBounds SuperMap.WindowsPhone.Core.Rectangle2D ${WP_utility_ScaleHelper_method_GetSmDpi_param_referViewBounds}
referViewer System.Windows.Rect ${WP_utility_ScaleHelper_method_GetSmDpi_param_referViewer}
referScale double ${WP_utility_ScaleHelper_method_GetSmDpi_param_referScale}
crs CoordinateReferenceSystem ${WP_utility_ScaleHelper_method_GetSmDpi_param_crs}
return double

ScaleConversion() public static method

${WP_utility_ScaleHelper_method_ScaleConversion_D}
public static ScaleConversion ( double input, double dpi, CoordinateReferenceSystem crs ) : double
input double ${WP_utility_ScaleHelper_method_ScaleConversion_param_input}
dpi double ${WP_utility_ScaleHelper_method_ScaleConversion_param_dpi}
crs CoordinateReferenceSystem &{WP_utility_ScaleHelper_method_ScaleConversion_param_crs}
return double