pub struct InkPointerEventArgs {
pub pointer_id: i32,
pub device_type: PointerType,
pub point: InkPoint,
pub is_barrel_button_pressed: bool,
pub is_eraser: bool,
pub is_right_button_pressed: bool,
/* private fields */
}Expand description
Device-independent input; coordinates are in the canvas’s local DIPs.
handled is shared through synchronous callback delivery.
Fields§
§pointer_id: i32§device_type: PointerType§point: InkPoint§is_eraser: boolImplementations§
Trait Implementations§
Source§impl Clone for InkPointerEventArgs
impl Clone for InkPointerEventArgs
Source§impl Debug for InkPointerEventArgs
impl Debug for InkPointerEventArgs
Source§impl MarkupTyped for InkPointerEventArgs
impl MarkupTyped for InkPointerEventArgs
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for InkPointerEventArgs
impl PartialEq for InkPointerEventArgs
impl StructuralPartialEq for InkPointerEventArgs
Auto Trait Implementations§
impl !RefUnwindSafe for InkPointerEventArgs
impl !Send for InkPointerEventArgs
impl !Sync for InkPointerEventArgs
impl !UnwindSafe for InkPointerEventArgs
impl Freeze for InkPointerEventArgs
impl Unpin for InkPointerEventArgs
impl UnsafeUnpin for InkPointerEventArgs
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more