Skip to main content

Module table

Module table 

Source

Structs§

CellLayout
CellLayoutParams
Parameters for a single table cell.
TableLayout
Computed layout for an entire table.
TableLayoutParams
Parameters for a table, extracted from text-document’s TableSnapshot.

Functions§

generate_table_decorations
Generate border and background decoration rects for a table.
layout_table
Lay out a table: distribute column widths, lay out cell contents, compute row heights.