6 #include <xtd/drawing/rectangle> 42 static std::vector<screen> all_screens();
47 int32 bits_per_pixel()
const noexcept;
60 bool high_resolution()
const noexcept;
65 int32 pixels_per_inch()
const noexcept;
69 bool primary()
const noexcept;
76 double scale_factor()
const noexcept;
81 static screen primary_screen();
147 static int32 get_standard_pixels_per_inch();
174 int32 bits_per_pixel_ = 0;
177 int32 pixels_per_inch_ = 96;
178 bool primary_ =
false;
179 double scale_factor_ = 1.;
intmax_t intptr
Represent a pointer or a handle.
Definition: types.h:151
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition: point.h:54
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Stores a set of four integers that represent the location and size of a rectangle.
Definition: rectangle.h:44
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129
Contains xtd::forms::control control.
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition: graphics.h:70