Exemple #1
0
 public static PixelRect ToAvaloniaPixelRect(this AvnRect rect)
 {
     return(new PixelRect((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height));
 }
Exemple #2
0
 public static Rect ToAvaloniaRect(this AvnRect rect)
 {
     return(new Rect(rect.X, rect.Y, rect.Width, rect.Height));
 }