Skip to main content

caption_kit

Function caption_kit 

Source
pub fn caption_kit(
    world: &mut LayoutWorld,
    constraints: &mut Vec<Constraint>,
    hard: &mut Vec<HardConstraint>,
    ink: Aabb,
    preferred: Side,
    opt_dist: f64,
    clash_dist: f64,
) -> String
Expand description

Caption kit (solver bench / unit tests only).

Paint places [crate::doc::caption::apply_mol_captions] after chrome constraints — the mol name is not a live layout DOF.