Unsolved Best way to paint handwriting from digital pencil?
-
Hello!
I am going to implement handwriting for digital pencils that support pressure. What would be the best way to paint this? Basically it will just be a line for each stroke that varies in thickness from pixel to pixel based on the pressure of the pencil.
Can this be done well with QPainterPath or some other method, or should I just be painting pixel for pixel myself?
Thanks!
-
You can look at scribble example in qt installation examples directory. Not sure about the pressure. For this you may need to use multitouch or touch point. Simple mouse event dos not support pressures
-
I forgot to mention that some sort of vectorized smoothing would be really nice if I am just using QPainterPath::lineTo()
@dheerendra said in Best way to paint handwriting from digital pencil?:
You can look at scribble example in qt installation examples directory.
Thanks, I'll have a look at that.