Skip to main content

frame_offset

Function frame_offset 

Source
pub fn frame_offset(mol: &MoleculeIn) -> (f64, f64)
Expand description

Paint one molecule into a single-viewport Scene.

Layers (bottom → top): shading → halo → bonds → labels. Chrome annotations (regions, circles, callouts) join those layers on the same viewport so a mol-group transform applies to the whole tree. depict_molecule scales after chem paint; the document path scales once after chrome + captions.