Exemple #1
0
 public ScreenScale(ScreenSize source, ScreenRatio ratio)
 {
     using (this.Suspend())
     {
         Source = source;
         Ratio  = ratio;
     }
     this.SubscribeNotifier();
 }
Exemple #2
0
 public static ScreenSize Wpf(this ScreenSizeInPixels source, ScreenRatio ratio) => new ScreenScale(source, ratio);
Exemple #3
0
 public static ScreenSize Scale(this ScreenSize source, ScreenRatio ratio) => new ScreenScale(source, ratio);
 public static ScreenRatio Inverse(this ScreenRatio source) => new ScreenInverseRatio(source);