22 Aug
2007
22 Aug
'07
9:19 p.m.
On 8/22/07, MenTaLguY <mental@...3...> wrote:
GDK input events come with timestamps attached, so this should be relatively easy to do (aside from the necessary care to sample only event times that occur far enough apart to avoid underflow/overflow).
I don't think seltrans needs to fiddle with GDK events. The tool context already took care of them, lumping them together as appropriate based on movement speed and redraw speed. Seltrans just needs to compare the new position with the previous and skip snapping if they are too far apart. (Although it will need access to the desktop zoom factor to find out this distance in screen pixels.)
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org