5#include "../../drawing_export.hpp"
6#include "../font_family.hpp"
7#include "../font_style.hpp"
8#include "../rectangle.hpp"
9#include "../rectangle_f.hpp"
10#include "../string_format.hpp"
21 namespace drawing_2d {
78 void add_arc(const
xtd::drawing::
rectangle& rect,
float start_angle,
float sweep_angle);
85 void add_arc(const
xtd::drawing::
rectangle_f& rect,
float start_angle,
float sweep_angle);
105 void add_arc(
float x,
float y,
float width,
float height,
float start_angle,
float sweep_angle);
146 void add_bezier(
float x1,
float y1,
float x2,
float y2,
float x3,
float y3,
float x4,
float y4);
204 void add_curve(const
xtd::
array<
xtd::drawing::
point>& points,
size_t offset,
size_t number_of_segments,
float tension);
212 void add_curve(const
xtd::
array<
xtd::drawing::
point_f>& points,
size_t offset,
size_t number_of_segments,
float tension);
231 void add_ellipse(
float x,
float y,
float width,
float height);
256 void add_line(
float x1,
float y1,
float x2,
float y2);
277 void add_pie(const
xtd::drawing::
rectangle& rect,
float start_angle,
float sweep_angle);
283 void add_pie(const
xtd::drawing::
rectangle_f& rect,
float start_angle,
float sweep_angle);
301 void add_pie(
float x,
float y,
float width,
float height,
float start_angle,
float sweep_angle);
329 void add_rectangle(
float x,
float y,
float width,
float height);
341 void add_rounded_rectangle(const
xtd::drawing::
rectangle& rect,
float radius);
359 void add_rounded_rectangle(
float x,
float y,
float width,
float height,
float radius);
391 void close_all_figures();
399 bool equals(const
object& obj) const noexcept override;
434 bool is_vsible(
float x,
float y) const;
447 xtd::
string to_string() const noexcept override;
451 void recreate_handle();
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:61
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics_path.hpp:33
graphics_path()
Initializes a new instance of the xtd::drawing::drawing_2d::graphics_path class with a xtd::drawing::...
intptr handle() const noexcept
Gets the handle of the graphics path.
graphics_path(xtd::drawing::drawing_2d::fill_mode mode)
Initializes a new instance of the xtd::drawing::drawing_2d::graphics_path class with the specified xt...
Defines a group of type faces having a similar basic design and certain variations in styles....
Definition font_family.hpp:33
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
The xtd::shared_ptr_object is a shared pointer as std::shared_ptr.
Definition shared_ptr_object.hpp:30
Contains xtd::drawing::drawing_2d::fill_mode enum class.
font_style
Specifies style information applied to text. This enumeration has a flags attribute that allows a bit...
Definition font_style.hpp:17
#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
fill_mode
Specifies how the interior of a closed path is filled.
Definition fill_mode.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
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