diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-11-24 18:15:10 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2020-11-27 20:45:59 +0300 |
commit | 3ec972fc95f3d9fb308af0fded69fc7e53940f78 (patch) | |
tree | 451f0c2094bbb34f40000edb2076c9a485b85ac5 /servers/rendering_server.h | |
parent | d395f7082876db14b592952eb91961a62d9bc604 (diff) |
Restored antialiased lines by emulation using triangle strips
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r-- | servers/rendering_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h index 236112c3fb..f21d876bf0 100644 --- a/servers/rendering_server.h +++ b/servers/rendering_server.h @@ -1175,7 +1175,7 @@ public: }; virtual 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) = 0; - virtual void canvas_item_add_polyline(RID p_item, const Vector<Point2> &p_points, const Vector<Color> &p_colors, float p_width = 1.0) = 0; + virtual 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) = 0; virtual void canvas_item_add_multiline(RID p_item, const Vector<Point2> &p_points, const Vector<Color> &p_colors, float p_width = 1.0) = 0; virtual void canvas_item_add_rect(RID p_item, const Rect2 &p_rect, const Color &p_color) = 0; virtual void canvas_item_add_circle(RID p_item, const Point2 &p_pos, float p_radius, const Color &p_color) = 0; |