GetDefaultScaleFactor() public static method

public static GetDefaultScaleFactor ( ) : double
return double
Ejemplo n.º 1
0
 public void SetImage(ImageDescription image)
 {
     image             = image.WithDefaultSize(Gtk.IconSize.Menu);
     statusItem.Pixbuf = ((GtkImage)image.Backend).GetBestFrame(context, Util.GetDefaultScaleFactor(), image.Size.Width, image.Size.Height, true);
 }