コード例 #1
0
ファイル: DpiTests.cs プロジェクト: Himansh1306/Win2D
 public int ConvertDipsToPixels(float dips, CanvasDpiRounding roundingBehavior)
 {
     throw new NotImplementedException();
 }
コード例 #2
0
 public int ConvertDipsToPixels(float dips, CanvasDpiRounding roundingBehavior)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 /// <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);
 }