1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

Add TODOs

This commit is contained in:
Emil Ernerfeldt
2025-02-04 15:25:59 +01:00
parent 56061c2c1d
commit 9845cf3254

View File

@@ -1135,6 +1135,10 @@ fn stroke_and_fill_path(
// (in the future it would be great with an option to add a circular end instead)
// TODO(emilk): we should probably shrink before adding the line caps,
// so that we don't add to the area of the line.
// TODO(emilk): make line caps optional.
out.reserve_triangles(6 * n as usize + 4);
out.reserve_vertices(4 * n as usize);