Function input_sys::libinput_event_tablet_tool_get_x [] [src]

pub unsafe extern "C" fn libinput_event_tablet_tool_get_x(
    event: *mut libinput_event_tablet_tool
) -> f64

@ingroup event_tablet

Returns the X coordinate of the tablet tool, in mm from the top left corner of the tablet in its current logical orientation. Use libinput_event_tablet_tool_get_x_transformed() for transforming the axis value into a different coordinate space.

@note On some devices, returned value may be negative or larger than the width of the device. See @ref tablet-bounds for more details.

@param event The libinput tablet tool event @return The current value of the the axis