public float ConvertToPixelBasedCoordinate(float value) { value *= this.mZoomValue; value = RenderingLibrary.Math.MathFunctions.RoundToInt(value); value /= this.mZoomValue; return value; }