Skip to main content

encode_path

Function encode_path 

Source
pub fn encode_path(path: &Path) -> String
Expand description

Path segments for the texts channel: "M x y L x y Q cx cy x y C … Z", one token per command or number. Coordinates use up to six decimal places, without trailing zeros; non-finite values and magnitudes outside the fixed-point range use their display form.