⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

hit_test_decoration

Function hit_test_decoration 

Source
pub fn hit_test_decoration(
    x: i32,
    y: i32,
    config: &DecorationConfig,
    width: u32,
    height: u32,
) -> DecorationHitTest
Expand description

Hit-test a point (relative to the window’s top-left including decorations) against the decoration regions.