5#include "../drawing_export.hpp"
7#include <xtd/iequatable>
75 void complement(const
xtd::drawing::drawing_2d::graphics_path& path) noexcept;
87 bool equals(const
region& value) const noexcept override;
91 void exclude(const
xtd::drawing::drawing_2d::graphics_path& path) noexcept;
120 void intersect(const
xtd::drawing::drawing_2d::graphics_path& path) noexcept;
134 bool is_empty() const noexcept;
144 bool is_infinite() const noexcept;
165 bool is_visible(
float x,
float y,
float width,
float height, const
xtd::drawing::
graphics& g) const noexcept;
191 bool is_visible(
float x,
float y,
float width,
float height) const noexcept;
215 bool is_visible(
float x,
float y, const
xtd::drawing::
graphics& g) const noexcept;
237 bool is_visible(
float x,
float y) const noexcept;
241 bool is_visible(
xtd::drawing::
point pt) const noexcept;
252 void make_infinite() noexcept;
256 void make_union(const
xtd::drawing::drawing_2d::graphics_path& path) noexcept;
269 void make_xor(const
xtd::drawing::drawing_2d::graphics_path& path) noexcept;
291 void translate(
float dx,
float dy) noexcept;
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics_path.hpp:35
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.hpp:70
Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimen...
Definition point_f.hpp:35
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
Stores a set of four floating-point numbers that represent the location and size of a rectangle....
Definition rectangle_f.hpp:34
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.hpp:44
Describes the interior of a graphics shape composed of rectangles and paths. This class cannot be inh...
Definition region.hpp:32
region()
Initializes a new xtd::drawing::region.
region(const xtd::drawing::rectangle_f &rect)
Initializes a new xtd::drawing::region from the specified xtd::drawing::rectangle_f structure.
region(const xtd::drawing::drawing_2d::graphics_path &path)
Initializes a new xtd::drawing::region with the specified xtd::drawing::graphics_path.
intptr handle() const noexcept
Gets the handle of the region.
region(const xtd::drawing::rectangle &rect)
Initializes a new xtd::drawing::region from the specified xtd::drawing::rectangle structure.
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:42
Contains xtd::drawing::drawing_2d::graphics_path class.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10