Skip to main content

project_sheet

Function project_sheet 

Source
pub fn project_sheet(
    scene: &RenderScene,
    sheet: &Sheet,
    views: &[PmiView],
    report: Option<&PmiReport>,
    context: &FrameContext,
) -> SheetDrawing
Expand description

The whole sheet: the paper’s furniture, then every placement projected, in order. context is what the border and title block need and a projection cannot know — the document’s name and the day (see super::frame::FrameContext). Every exact pass runs HERE, on the calling thread; project_sheet_with can hand them over instead.