Skip to main content

normalize

Function normalize 

Source
pub fn normalize(raw: Option<[f64; 4]>, strict: bool) -> Option<[f64; 4]>
Expand description

规范并验证矩形;strict 模式不交换端点,与脚本几何契约一致。