Expand description
The drawing’s title block: what a printed sheet states about the drawing it carries, and how that statement is arranged.
It says what a reader needs in order to know what they are looking at: what the document is, which revision, who wrote it and when, and which level of it is on the sheet.
This is content, not chrome: the block belongs to the sheet, inside the drawing border, because it prints. The canvas itself carries no copy — the name reads in the document bar, the path in the status strip’s breadcrumb, and the rev, author and date in the history panel’s own rows.
Structs§
- Cell
- One cell of the block: its caption, what it says, how it is set, and what it has no room for.
- Grid
- The block’s arrangement: an ECAD-style two-column head — what the drawing is on the left, which revision of it on the right — over lines wide enough for a path to run across without squeezing the head.
- Title
Block - What a title block states about a drawing. The strings are owned: the session hands the block a stamp rather than a borrow of itself, so the same stamp can be built where the document index is borrowed — and asked for by a test, or carried into an export.
Enums§
- Emphasis
- What a cell’s value is worth, for the painter that has to color it: the document’s own name is the one line a sheet sets apart from the rest.
- Value
- What a cell says. A path is kept as its segments rather than as the joined string because the printed sheet links each ancestor segment to that ancestor’s page, which means knowing where one name ends and the next begins.
Constants§
- ROOT_
PATH - What the Path row says at the document root.
Functions§
- text_
size - The one size the block sets everything in, captions and values alike: the canvas’s own block-title size, so the block reads as part of the drawing rather than as chrome bolted beside it. The printed sheet takes the same size at the document scale.