FEATURE: Add Python API for "input-aware" brush strokes (fake tablet input)

This adds to python an API to allow sending fake input strokes WITH pressure/timing/rotation/...

This is important for when an addon wants to make a stroke for you. Most of the time you use some brush not just some extremely simple thing like in "paint", and most of the time those brushes have intricate dynamics that depend on all these things, pressure being the most important but not the only one.

Without it, my addons are restricted to only making "dumb" inputs which are not really all that helpful (not at all helpful tbh).

The test case is pretty barebones because I really don't know how to test this more/better. Should I construct a full on document and have the test draw onto it and then compare pixels... or what? Sounds excessive and would require also constructing the actual entire brush that is expected. If someone has an idea on how what to do and how to do it, let me know

Merge request reports

Loading
Loading