33 #include "../api_display.h"
36 #include "../Render/primitives_array.h"
67 void get_outline(std::vector< std::vector<Vec2f> > &out_primitives_array_outline)
const;
75 void add_path(
Path2D &path);
78 void add_circle(
float center_x,
float center_y,
float radius,
bool reverse =
false);
81 void add_ellipse(
float center_x,
float center_y,
float radius_x,
float radius_y,
bool reverse =
false);
87 void add_circle(
const Pointf ¢er,
float radius_x,
bool reverse =
false);
93 void add_ellipse(
const Pointf ¢er,
const Pointf &radius,
bool reverse =
false);
95 void add_rounded_rect(
const Pointf &origin,
const Sizef &size,
float cap_rounding,
bool reverse =
false);
97 void add_rounded_rect(
const Pointf &origin,
const Sizef &size,
float cap_rounding,
const Angle &angle,
bool reverse =
false);
99 void add_rect(
const Rectf &rect,
bool reverse =
false);
101 void add_rect(
const Rectf &rect,
const Angle &angle,
bool reverse =
false);
103 void add_rounded_line(
const Pointf &start,
const Pointf &end,
float line_width,
float cap_rounding,
bool reverse);
111 std::shared_ptr<Shape2D_Impl> impl;
Angle class.
Definition: angle.h:63
PolygonOrientation
Polygon orientations.
Definition: ear_clip_triangulator.h:53
2D (left,top,right,bottom) rectangle structure - Float
Definition: rect.h:467
Definition: ear_clip_triangulator.h:55
2D (x,y) point structure - Float
Definition: point.h:73
2D (width,height) size structure - Float
Definition: size.h:170