sztagan
15th July 2012, 12:24
Hello,
I'm just developing application for medical tests with graphic tablet. My tablet works just fine (I receive events, and handle it). But I'm struggle with two dilemmas:
1. Is there any way to measure distance traveled by pen on tablet during drawing? With mouse I can do this quite easily using screen resolution information and some math. But with tablet I don't have information about it's resolution and real number on pixels that a pen traveled (informations from
hiResGlobalPos are after some transformations).
2. I need my event receive in equal time interval, say 10 miliseconds, this is because I perform FFT on it. Does anyone has some simple idea for that?
I will be very thankful if someone help me with this
best regards
Paweł
I'm just developing application for medical tests with graphic tablet. My tablet works just fine (I receive events, and handle it). But I'm struggle with two dilemmas:
1. Is there any way to measure distance traveled by pen on tablet during drawing? With mouse I can do this quite easily using screen resolution information and some math. But with tablet I don't have information about it's resolution and real number on pixels that a pen traveled (informations from
hiResGlobalPos are after some transformations).
2. I need my event receive in equal time interval, say 10 miliseconds, this is because I perform FFT on it. Does anyone has some simple idea for that?
I will be very thankful if someone help me with this
best regards
Paweł