5 #include "../drawing_export.h" 6 #include <xtd/iequatable> 44 size_f() noexcept = default;
53 size_f(
float width,
float height) noexcept;
67 float height() const noexcept;
72 void height(
float value) noexcept;
76 bool is_empty() const noexcept;
81 float width() const noexcept;
86 void width(
float value) noexcept;
98 bool equals(const
xtd::drawing::
size_f& value) const noexcept override;
value_t parse(const std::string &str)
Convert a string into a type.
Definition: parse.h:23
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition: point.h:54
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:31
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
ustring replace(value_type old_char, value_type new_char) const noexcept
Replaces all occurrences of a specified char_t in this string with another specified char_t...
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1063
Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimen...
Definition: point_f.h:35
Stores an ordered pair of floating-point, which specify a height and width.
Definition: size_f.h:31
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition: iequatable.h:18
std::vector< ustring > split(const std::vector< value_type > &separators, size_t count, string_split_options options) const noexcept
Splits this string into a maximum number of substrings based on the characters in an array...
float parse< float >(const std::string &str, number_styles styles)
Convert a string into a type.
Definition: parse.h:180
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
static const xtd::drawing::size_f empty
Gets a Size class that has a Height and Width value of 0. This field is constant. ...
Definition: size_f.h:37
size_t size
Represents a size of any object in bytes.
Definition: types.h:195