Render stencils to atlas

This commit is contained in:
Antonio Scandurra 2021-03-30 11:28:35 +02:00
parent b538f5cfb7
commit 98845663a9
6 changed files with 140 additions and 121 deletions

View file

@ -637,7 +637,7 @@ impl Selection {
);
path.line_to(vec2f(first_line.end_x - corner_radius, start_y));
scene.push_path(ColorU::from_u32(0xff0000ff), path.build());
scene.push_path(path.build(ColorU::from_u32(0xff0000ff)));
// rounded_corner(&mut path, corner, corner_radius, Right, Down);