summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_canvas_cull.h
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-04-12 18:09:58 +0300
committerGitHub <noreply@github.com>2022-04-12 18:09:58 +0300
commit3d63f6e36dee3987e9bae36b7639ab0012810db6 (patch)
treeaf5eb3a1a8913962b91fcab2f00ab4af3d83255e /servers/rendering/renderer_canvas_cull.h
parentefe0a7e44d7f4ff639ba8a0ab9a7f9ce35a0683c (diff)
parent6e9535a9c8d76fe036818d74833590dfe0e73f29 (diff)
Merge pull request #60171 from Chaosus/restore_aa
Diffstat (limited to 'servers/rendering/renderer_canvas_cull.h')
-rw-r--r--servers/rendering/renderer_canvas_cull.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_canvas_cull.h b/servers/rendering/renderer_canvas_cull.h
index 94bae30ae0..637245502d 100644
--- a/servers/rendering/renderer_canvas_cull.h
+++ b/servers/rendering/renderer_canvas_cull.h
@@ -215,7 +215,7 @@ public:
void canvas_item_set_update_when_visible(RID p_item, bool p_update);
- void canvas_item_add_line(RID p_item, const Point2 &p_from, const Point2 &p_to, const Color &p_color, float p_width = 1.0);
+ void canvas_item_add_line(RID p_item, const Point2 &p_from, const Point2 &p_to, const Color &p_color, float p_width = 1.0, bool p_antialiased = false);
void canvas_item_add_polyline(RID p_item, const Vector<Point2> &p_points, const Vector<Color> &p_colors, float p_width = 1.0, bool p_antialiased = false);
void canvas_item_add_multiline(RID p_item, const Vector<Point2> &p_points, const Vector<Color> &p_colors, float p_width = 1.0);
void canvas_item_add_rect(RID p_item, const Rect2 &p_rect, const Color &p_color);