6#include <xtd/drawing/rectangle>
47 const drawing::rectangle& bounds() const noexcept;
56 bool high_resolution() const noexcept;
61 int32 pixels_per_inch() const noexcept;
65 bool primary() const noexcept;
72 double scale_factor() const noexcept;
78 const drawing::rectangle& working_area() const noexcept;
86 static std::vector<
screen> all_screens();
99 static drawing::graphics create_graphics();
114 static
screen from_point(const drawing::point& point);
119 static
screen from_rectangle(const drawing::rectangle& rect);
129 static drawing::rectangle get_bounds(
intptr handle);
134 static drawing::rectangle get_bounds(const drawing::point& point);
139 static drawing::rectangle get_bounds(const drawing::rectangle& rect);
150 static
int32 get_standard_pixels_per_inch();
160 static drawing::rectangle get_working_area(
intptr handle);
165 static drawing::rectangle get_working_area(const drawing::point& point);
170 static drawing::rectangle get_working_area(const drawing::rectangle& rect);
175 screen(
int32 bits_per_pixel, const drawing::rectangle& bounds, const
xtd::
ustring& device_name,
int32 pixels_per_inch,
bool primary,
double scale_factor, const drawing::rectangle& working_area);
177 int32 bits_per_pixel_ = 0;
178 drawing::rectangle bounds_;
180 int32 pixels_per_inch_ = 96;
181 bool primary_ = false;
182 double scale_factor_ = 1.;
183 drawing::rectangle working_area_;
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:32
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
#define forms_export_
Define shared library export.
Definition forms_export.h:13
int_least32_t int32
Represents a 32-bit signed integer.
Definition types.h:131
intmax_t intptr
Represent a pointer or a handle.
Definition types.h:153
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::forms::style_sheets::control class.