Hi,
I've created some basic input device pressure and tilt support.
The changes are:
- A standard input device dialog has been added
- Device settings are loaded from and saved to the preferences
- The dialog canvas widget accepts extension events
- The calligraphy tool can optionally use the input device's pressure for pen width, and/or tilt for pen angle
The diff, and the new source files are available from http://www.lysator.liu.se/~nili/inkscape/
What do you think about it?
--Nicklas
I haven't tried it yet due to things not compiling right on win32 at the moment (mostly whiteboard stuff that is a pain to get it all excluded) and my home computer being dead atm, but I've been working on supporting this with the help of some code by Jose Hevia. We should talk about this with Bulia to find a way to get all of the functionality necessary in a way that will require as little refactoring in the future as possible. One of the great things about Jose's code is the ability to "record" strokes and save them for later use (retaining all pressure & tilt info from your tablet input).
On another note, it's great to see a new face in the dev community! I will give my impressions as soon as I'm able to test it out! If no one has committed any of the code yet, I will take on doing this unless it's determined to be kosher prior to that.
Bulia, we should talk about how we can implement the advanced brush tool I've been thinking of. It will be a replacement for the calligraphy tool, but it will be more robust than "the other guys" brushes (a few methods I have in mind, 1 of which I have not seen in other software). My goal for all of this stuff was .44 due to the shorter dev cycles and my newbness to programming, but it looks like he has most of the initial stuff done so we may do pressure & tilt w/ stroke saving/loading for .43 and the brush stuff for .44.
Too cool Nicklas! I'm stoked!
-Josh