xtd.forms - Reference Guide  0.1.0
Modern c++17 library containing classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows, Apple macOS and Linux like Ubuntu operating system.
xtd::forms::screen Class Reference

Represents a display device or multiple display devices on a single system. More...

#include <screen.h>

Public Member Functions

int32_t bits_per_pixel () const
const drawing::rectanglebounds () const
const std::string & device_name () const
bool primary () const
const drawing::rectangleworking_area () const

Static Public Member Functions

static std::vector< screenall_screens ()
static drawing::graphics create_graphics ()
static screen from_control (const control &control)
static screen from_handle (intptr_t handle)
static screen from_point (const drawing::point &point)
static screen from_rectangle (const drawing::rectangle &rect)
static drawing::rectangle get_bounds (const control &control)
static drawing::rectangle get_bounds (intptr_t handle)
static drawing::rectangle get_bounds (const drawing::point &point)
static drawing::rectangle get_bounds (const drawing::rectangle &rect)
static drawing::rectangle get_working_area (const control &control)
static drawing::rectangle get_working_area (intptr_t handle)
static drawing::rectangle get_working_area (const drawing::point &point)
static drawing::rectangle get_working_area (const drawing::rectangle &rect)
static screen primary_screen ()

Detailed Description

Represents a display device or multiple display devices on a single system.

The documentation for this class was generated from the following file: