[][src]Function input_sys::libinput_event_tablet_tool_get_size_major

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

@ingroup event_tablet

Returns the current size in mm along the major axis of the touching ellipse. This axis is not necessarily aligned with either x or y, the rotation must be taken into account.

Where no rotation is available on a tool, or where rotation is zero, the major axis aligns with the y axis and the minor axis with the x axis.

If this axis does not exist on the current tool, this function returns 0.

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