FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InkPointerEventArgs

    struct · ferroui-controls-inking · v0.5.0

    struct InkPointerEventArgs
    

    Device-independent input; coordinates are in the canvas's local DIPs. handled is shared through synchronous callback delivery.

    View source

    Members

    pointer_id

    pointer_id: i32
    

    Source

    device_type

    device_type: ferroui_base::input::PointerType
    

    Source

    point

    point: super::InkPoint
    

    Source

    is_barrel_button_pressed

    is_barrel_button_pressed: bool
    

    Source

    is_eraser

    is_eraser: bool
    

    Source

    is_right_button_pressed

    is_right_button_pressed: bool
    

    Source

    new

    fn new(pointer_id: i32, device_type: PointerType, point: InkPoint) -> Self
    

    Source

    handled

    fn handled(self: &Self) -> bool
    

    Source

    set_handled

    fn set_handled(self: &Self, value: bool)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • IUnknownImpl
    • MarkupTyped
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.