Homework 4, CSE 481b, Winter 2006
Due Tuesday, January 31, 6:00 pm
Pressure sensitive ink
This assignment is to create a pressure sensitive ink, where the color depends on the pressure. You should start with
the Real Time Stylus sample from the 1.7 SDK and modify the custom renderer to allow color to be controled by pressure.
- You will need to run this program on a tablet pc with a digitizer that detects pressure. (The compaq tablet do not - so you will want to work with the Toshiba tablets).
- My recommendation is to start with the real time stylus plugin sample from the 1.7 SDK.
- If you want to do a little bit more - make the pen width also sensitive to pressure.
- A further extension is to add a static renderer to on paint - so that your ink refreshes properly. If you just render
on the Packet event (which is what you are to do), then if your stroke is over drawn - it is gone - so you need to add something to OnPaint to draw your stroke appropriately.
Feel free to alter the feature set as you see fit. There is no requirement to reproduce
the sample solution exactly.
Submission By the deadline, post a screenshot of your application to your project portal.
When you have completed the assignment, send mail to the valentin@cs informing him that the assignment is complete.