module Rabbit::ScreenInfo
Public Instance Methods
Source
# File lib/rabbit/utils.rb, line 390 def default_screen Gdk::Screen.default end
Source
# File lib/rabbit/utils.rb, line 418 def screen_depth default_screen.system_visual.depth end
Source
# File lib/rabbit/utils.rb, line 402 def screen_height default_screen.height end
Source
# File lib/rabbit/utils.rb, line 406 def screen_height_mm default_screen.height_mm end
Source
# File lib/rabbit/utils.rb, line 394 def screen_width default_screen.width end
Source
# File lib/rabbit/utils.rb, line 398 def screen_width_mm default_screen.width_mm end
Source
# File lib/rabbit/utils.rb, line 410 def screen_x_resolution screen_width / mm_to_inch(screen_width_mm) end
Source
# File lib/rabbit/utils.rb, line 414 def screen_y_resolution screen_height / mm_to_inch(screen_height_mm) end