draw_tree

Function draw_tree 

Source
pub fn draw_tree(
    session: Session,
    mode: DrawingMode,
    cr: &Context,
    viewport_rect: Rect,
    config: RenderingConfiguration,
    acquired_nodes: &mut AcquiredNodes<'_>,
) -> Result<Box<BoundingBox>, Box<InternalRenderingError>>
Expand description

The toplevel drawing routine.

This creates a DrawingCtx internally and starts drawing at the specified node.