public int ConvertDipsToPixels(float dips, CanvasDpiRounding roundingBehavior) { throw new NotImplementedException(); }
/// <summary> /// Converts the dips to pixels. /// </summary> /// <param name="dips">The dips to convert.</param> /// <param name="dpiRounding">The rounding mode.</param> /// <returns> /// The resulting pixels. /// </returns> public int ConvertDipsToPixels(float dips, CanvasDpiRounding dpiRounding) { return(canvasControl?.ConvertDipsToPixels(dips, dpiRounding) ?? -1); }