6#include <xtd/iequatable>
85 bool equals(const
xtd::
object& obj) const noexcept override;
98 void offset(
float dx,
float dy) noexcept;
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:44
Contains drawing_export_ keyword.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
@ other
The operating system is other.
Definition platform_id.hpp:58
@ f
The F key.
Definition console_key.hpp:98
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimen...
Definition point_f.hpp:35
xtd::size get_hash_code() const noexcept override
Serves as a hash function for a particular type.
static const point_f empty
Represents a xtd::drawing::point_f that has xtd::drawing::point_f::x and xtd::drawing::point_f::y val...
Definition point_f.hpp:40
bool equals(const xtd::object &obj) const noexcept override
Determines whether the specified object is equal to the current object.
void offset(float dx, float dy) noexcept
Translates this xtd::drawing::point_f by the specified amount.
float x
Gets or sets the x-coordinate of this xtd::drawing::point_f.
Definition point_f.hpp:72
static point_f add(const point_f &pt, const size &sz) noexcept
Adds the specified xtd::drawing::size to the specified xtd::drawing::point_f.
bool is_empty() const noexcept
Gets a value indicating whether this xtd::drawing::point_f is empty.
static point_f subtract(const point_f &pt, const size &sz) noexcept
Returns the result of subtracting specified xtd::drawing::size from the specified xtd::drawing::point...
float y
Gets or sets the y-coordinate of this xtd::drawing::point_f.
Definition point_f.hpp:76
xtd::string to_string() const noexcept override
Converts this point to a human-readable string.
point_f() noexcept=default
Initializes a new instance of the xtd::drawing::point_f class.
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
Stores an ordered pair of floating-point, which specify a height and width.
Definition size_f.hpp:31
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31