summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_canvas_cull.h
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2022-04-11 20:42:46 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2022-04-12 13:03:56 +0300
commit6e9535a9c8d76fe036818d74833590dfe0e73f29 (patch)
tree750b07a2d8ad697df712b5e08b10d9a673d59192 /servers/rendering/renderer_canvas_cull.h
parent5974e1432ef7941a5e29f8723dec85aa45505963 (diff)
Restore antialiasing for `draw_line`
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);