Example #1
0
 public BitmapImage ToBitmap(Screen renderTarget, ImageFormat format = ImageFormat.ARGB32)
 {
     return ToVectorImage ().ToBitmap (renderTarget, format);
 }
Example #2
0
 static void SetupScreens()
 {
     if (screens == null) {
         screens = Toolkit.CurrentEngine.DesktopBackend.GetScreens ().Select (s => new Screen (s)).ToArray ();
         primary = screens.FirstOrDefault (s => s.IsPrimary);
     }
 }