5#include "../drawing_export.h"
7#include <xtd/iequatable>
144 point& operator =(const
point&) noexcept = default;
145 operator
point_f() const noexcept;
153 bool is_empty() const noexcept;
251 using
object::equals;
252 bool equals(const
point& value) const noexcept override;
272 void offset(const
point& p) noexcept;
276 xtd::
string to_string() const noexcept override;
378 inline drawing::
point parse<drawing::
point>(const std::
string& str) {
380 return {xtd::parse<int32>(values[0]), xtd::parse<int32>(values[1])};
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.h:124
Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimen...
Definition point_f.h:35
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.h:54
static const point empty
Represents a xtd::drawing::point that has xtd::drawing::point::x and xtd::drawing::point::y values se...
Definition point.h:60
point() noexcept=default
Initializes a new instance of the xtd::drawing::point class.
Stores an ordered pair of integers, which specify a height and width.
Definition size.h:31
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.h:43
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
size_t size
Represents a size of any object in bytes.
Definition size.h:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::drawing::point_f class.