5#include "../../drawing_export.h"
6#include "../font_family.h"
7#include "../font_style.h"
8#include "../rectangle.h"
9#include "../rectangle_f.h"
10#include "../string_format.h"
23 namespace drawing_2d {
80 void add_arc(const
xtd::drawing::
rectangle& rect,
float start_angle,
float sweep_angle);
87 void add_arc(const
xtd::drawing::
rectangle_f& rect,
float start_angle,
float sweep_angle);
107 void add_arc(
float x,
float y,
float width,
float height,
float start_angle,
float sweep_angle);
148 void add_bezier(
float x1,
float y1,
float x2,
float y2,
float x3,
float y3,
float x4,
float y4);
154 void add_beziers(const std::vector<
xtd::drawing::
point>& points);
159 void add_beziers(const std::vector<
xtd::drawing::
point_f>& points);
164 void add_closed_curve(const std::vector<
xtd::drawing::
point>& points);
168 void add_closed_curve(const std::vector<
xtd::drawing::
point_f>& points);
173 void add_closed_curve(const std::vector<
xtd::drawing::
point>& points,
float tension);
178 void add_closed_curve(const std::vector<
xtd::drawing::
point_f>& points,
float tension);
184 void add_curve(const std::vector<
xtd::drawing::
point>& points);
188 void add_curve(const std::vector<
xtd::drawing::
point_f>& points);
193 void add_curve(const std::vector<
xtd::drawing::
point>& points,
float tension);
198 void add_curve(const std::vector<
xtd::drawing::
point_f>& points,
float tension);
206 void add_curve(const std::vector<
xtd::drawing::
point>& points,
size_t offset,
size_t number_of_segments,
float tension);
214 void add_curve(const std::vector<
xtd::drawing::
point_f>& points,
size_t offset,
size_t number_of_segments,
float tension);
233 void add_ellipse(
float x,
float y,
float width,
float height);
258 void add_line(
float x1,
float y1,
float x2,
float y2);
263 void add_lines(const std::vector<
xtd::drawing::
point>& points);
267 void add_lines(const std::vector<
xtd::drawing::
point_f>& points);
279 void add_pie(const
xtd::drawing::
rectangle& rect,
float start_angle,
float sweep_angle);
285 void add_pie(const
xtd::drawing::
rectangle_f& rect,
float start_angle,
float sweep_angle);
303 void add_pie(
float x,
float y,
float width,
float height,
float start_angle,
float sweep_angle);
308 void add_polygon(const std::vector<
xtd::drawing::
point>& points);
312 void add_polygon(const std::vector<
xtd::drawing::
point_f>& points);
331 void add_rectangle(
float x,
float y,
float width,
float height);
335 void add_rectangles(const std::vector<
xtd::drawing::
rectangle>& rects);
343 void add_rounded_rectangle(const
xtd::drawing::
rectangle& rect,
float radius);
361 void add_rounded_rectangle(
float x,
float y,
float width,
float height,
float radius);
393 void close_all_figures();
398 using
object::equals;
399 bool equals(const
xtd::drawing::drawing_2d::
graphics_path& value) const noexcept override;
430 bool is_vsible(
float x,
float y) const;
443 xtd::
string to_string() const noexcept override;
447 void recreate_handle();
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics_path.h:35
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.h:38
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
Stores a set of four floating-point numbers that represent the location and size of a rectangle....
Definition rectangle_f.h:34
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.h:44
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
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.h:17
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.h:23
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.h:25
fill_mode
Specifies how the interior of a closed path is filled.
Definition fill_mode.h:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10