I can guarantee you they don't, the OS doesn't even provide that. If you move fast in a curve, you'll notice there's straight segments creating the curve. Thus they extrapolate. Smarter paint programs actually create a spline of the points to make it look better, but they still have to work with non-contiguous mouse points.
On Apr 13, 10:40 am, fonghuangyee <[email protected]> wrote: > but when i refer thehttp://www.farbtube.comandhttp://canvaspaint.org, > event i move very fast, they browser still can capture every single > pixel, > so i believe that this is GWT MouseEvent behavior or limitation. > > On Apr 13, 11:02 pm, ben fenster <[email protected]> wrote: > > > i had the same problem and i dont think it has a solution since the > > events are sent from the browser and if they are wrong then theirs > > nothing to do about it > > > On 13 אפריל, 09:35, fonghuangyee <[email protected]> wrote: > > > >http://www.farbtube.com > > > > this is the demo, or should i use a canvas? > > > Anyone know how to implement it? > > > > On Apr 13, 3:45 pm, fonghuangyee <[email protected]> wrote:> > > > addMouseMoveHandler(new MouseMoveHandler() { > > > > > @Override > > > > public void onMouseMove(MouseMoveEvent event) { > > > > System.out.println("X : " + event.getX()); > > > > > }); > > > > > My problem is, if i move my mouse very fast, i cant receive every > > > > MouseMoveEvent. > > > > As the code above, i aspect: > > > > 0,1,2,3,4,5,6 > > > > > But when i move very fast, i will get > > > > 0, 5, 15, 20, 50..... > > > > > I am doing a simple app as Window Paint. > > > > I need to detect every MouseMoveEvent so that i can do drawing on the > > > > page. > > > > > Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
