6#include <xtd/drawing/rectangle>
49 const drawing::rectangle& bounds() const noexcept;
54 const
xtd::
string& device_name() const;
58 bool high_resolution() const noexcept;
63 int32 pixels_per_inch() const noexcept;
67 bool primary() const noexcept;
74 double scale_factor() const noexcept;
80 const drawing::rectangle& working_area() const noexcept;
88 static std::vector<
screen> all_screens();
101 static drawing::graphics create_graphics();
116 static
screen from_point(const drawing::point& point);
121 static
screen from_rectangle(const drawing::rectangle& rect);
131 static drawing::rectangle get_bounds(
intptr handle);
136 static drawing::rectangle get_bounds(const drawing::point& point);
141 static drawing::rectangle get_bounds(const drawing::rectangle& rect);
152 static
int32 get_standard_pixels_per_inch();
162 static drawing::rectangle get_working_area(
intptr handle);
167 static drawing::rectangle get_working_area(const drawing::point& point);
172 static drawing::rectangle get_working_area(const drawing::rectangle& rect);
177 screen(
int32 bits_per_pixel, const drawing::rectangle& bounds, const
xtd::
string& device_name,
int32 pixels_per_inch,
bool primary,
double scale_factor, const drawing::rectangle& working_area);
179 int32 bits_per_pixel_ = 0;
180 drawing::rectangle bounds_;
181 xtd::
string device_name_;
182 int32 pixels_per_inch_ = 96;
183 bool primary_ = false;
184 double scale_factor_ = 1.;
185 drawing::rectangle working_area_;
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
#define forms_export_
Define shared library export.
Definition forms_export.h:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.h:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10