Skip to main content

draw_title_block

Function draw_title_block 

Source
fn draw_title_block(
    surface: &mut Surface<'_>,
    page: &Page<'_>,
    sheet: &Sheet,
    font: &Font,
) -> Option<Printed>
Expand description

The title block, in the corner an ECAD sheet keeps it, from the one definition the editor’s block is also drawn from (blockworx_editor::title_block::Grid): a two-column head over the path and whatever else runs wide, anchored to the lower-right margin from the backend’s measured widths and ruled like a sheet’s block.

The path’s ancestor segments carry link annotations to their own pages, so every scope this one hangs from is one click away from the row that names it.