Skip to main content

parse_clip_shape_with_font

Function parse_clip_shape_with_font 

Source
pub fn parse_clip_shape_with_font(
    css: &str,
    w: i32,
    h: i32,
    font_px: f32,
) -> Option<ClipShape>
Expand description

Parse CSS clip-path value with element font size for resolving em units.