figure: rows can hold several plots (cells), cell weights and column gap

This commit is contained in:
Martino Ferrari committed 2026-11-03 16:47:47 +01:00
1 parent f79a97be9b
commit 7d8c453232
4 files changed
+341 -31

No files matched your search

+1 -1
View File
@@ -471,7 +471,7 @@ void Renderer::draw(Figure& figure) {
// Every row is prepared before the figure lays itself out, because a row's strips
// are measured from the metrics this installs: a row measuring with one backend and
// drawing with another is the defect the propagation point exists to prevent.
const u32 rows = figure.row_count();
const u32 rows = figure.plot_count();
for (u32 row = 0; row < rows; ++row) prepare_plot(figure.plot(row));
// The figure's one layout for the frame. It hands every row its rect and its