Skip to main content

is_point_in_path

Function is_point_in_path 

Source
pub fn is_point_in_path(
    subpaths: &[SubPath],
    x: f32,
    y: f32,
    rule: FillRule,
) -> bool
Expand description

指定した座標 (x, y) がパス(subpaths)の内部に含まれるかを判定する(W3C isPointInPath 準拠)。