Pen Input Support on Views #22924
Replies: 2 comments
-
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Beta Was this translation helpful? Give feedback.
-
I think these APIs very much make sense for .NET MAUI, considering the multi-platform, multi-formfactor nature of the framework. For example, this would be powerful in a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Previous APIs support advanced graphics tablet features, such as querying pressure sensitivity and pen tilt from pen input. A new, cross-platform API should mirror or take the best parts of some of those previous APIs.
API Changes
I don't see any reason why it should be any different from UWP implementation, lifted straight from the docs:
Intended Use Case
This API can be used optimally for implementing drawing applications.
Drawing applications are more than just e.g. Krita or Clip Studio Paint.
Researchers and hobbyists often create extremely primitive drawing applications as a part of a showcase of what they've made (esp. in machine learning)
Primitive drawing applications are also common in video games (e.g. Pictionary, Jackbox)
WPF has StylusPointProperties, and UWP has PointerPointProperties. WinUI3 also has PointerPointProperties
Likewise, GTK provides GdkDevice, Qt provides QTabletEvent.
Apple provides the much larger NSEvent, along with PencilKit
There's also the PointerEvent Web API
The number of graphics tablet manufacturers is exploding beyond Wacom, Huion, XP-Pen, et al, so it's inadvisable for developers to implement each proprietary API. Ideally we should be able to use a single cross-platform API for handling pen input.
Beta Was this translation helpful? Give feedback.
All reactions