Module autopilot::screen[][src]

This module contains functions for working with the screen.

Functions

get_color

A convenience method that returns the RGB color at the given point on the main display.

is_point_visible

Returns whether the given point is inside the main screen boundaries.

is_rect_visible

Returns whether the given rect is inside the main screen boundaries.

scale

Returns the scale of the main screen, i.e. how many pixels are in a point.

size

Returns the size of the main screen in points.