6#include <xtd/drawing/rectangle>
50 const drawing::rectangle& bounds() const noexcept;
55 const
xtd::
string& device_name() const;
59 bool high_resolution() const noexcept;
64 int32 pixels_per_inch() const noexcept;
68 bool primary() const noexcept;
75 double scale_factor() const noexcept;
81 const drawing::rectangle& working_area() const noexcept;
103 bool equals(const
xtd::
object& obj) const noexcept override;
107 bool equals(const
screen& other) const noexcept override;
111 xtd::
size get_hash_code() const noexcept override;
119 static drawing::graphics create_graphics();
134 static
screen from_point(const drawing::point& point);
139 static
screen from_rectangle(const drawing::rectangle& rect);
149 static drawing::rectangle get_bounds(
intptr handle);
154 static drawing::rectangle get_bounds(const drawing::point& point);
159 static drawing::rectangle get_bounds(const drawing::rectangle& rect);
170 static
int32 get_standard_pixels_per_inch();
180 static drawing::rectangle get_working_area(
intptr handle);
185 static drawing::rectangle get_working_area(const drawing::point& point);
190 static drawing::rectangle get_working_area(const drawing::rectangle& rect);
194 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);
196 int32 bits_per_pixel_ = 0;
197 drawing::rectangle bounds_;
198 xtd::
string device_name_;
199 int32 pixels_per_inch_ = 96;
200 bool primary_ = false;
201 double scale_factor_ = 1.;
202 drawing::rectangle working_area_;
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:61
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:43
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::style_sheets::control class.