Function preset_size

Source
fn preset_size(
    pw: u32,
    ph: u32,
    preset: &str,
    custom: (u32, u32),
) -> Option<(u32, u32)>
Expand description

Output size for a resolution preset: None = project size. Height presets derive the width from the project aspect (rounded to even).