PDA

View Full Version : pressure sensitivity in drawing app under C#



boondocksaint2k
December 30th, 2007, 04:32 PM
I've got a WPF application set up with an InkCanvas on it. Of course, I don't have to use WPF for the project but anways...

How do I integrate pressure sensitivity into a C# application? I tried searching places but... Yeah.

If it makes any difference, only Wacom tablet is going to be used.

Thank you.

kirupa
January 3rd, 2008, 11:16 PM
For all of your Stylus events, you have a PressureFactor value that returns the pressure value. Here is an example that I found by searching for PressureFactor: http://www.benmcevoy.com/blog/?p=18 :)

boondocksaint2k
January 11th, 2008, 09:24 PM
For all of your Stylus events, you have a PressureFactor value that returns the pressure value. Here is an example that I found by searching for PressureFactor: http://www.benmcevoy.com/blog/?p=18 :)

Thank you very much. Much appreciated.