Re: Use of lrint() in 'gdk-pixbuf/pixops/pixops.c'

2017-02-05 Thread Yale Zhang
It should be in both the gdk and gtk directories for GTK+ 3.22. I don't know about GTK+2 On Sun, Feb 5, 2017 at 1:43 AM, John Emmas via gtk-devel-list wrote: > On 05/02/2017 03:59, Yale Zhang wrote: >> >> I suggest adding a lrintf() fallback to fallback-c89.c too. >>

Re: Use of lrint() in 'gdk-pixbuf/pixops/pixops.c'

2017-02-04 Thread Yale Zhang
I suggest adding a lrintf() fallback to fallback-c89.c too. Currently, there are 2 rounding functions in the fall backs, round() and rint(), with rint() having the better less biased IEEE round-to-even behavior for the 0.5 case. lrintf() is preferable because it can be done in a single instructio

Re: multitouch support for Windows

2016-12-28 Thread Yale Zhang
can take a look at your patch, so that > things don’t get lost in the mail list. > > > > With blessings, thank you, and cheers! > > > > 從 Windows 10 手機傳送 > > > > 寄件者: Yale Zhang > 傳送時間: 2016年12月29日 11:58 > 收件者: gtk-devel-list@gnome.org; vincar...@gmail.

multitouch support for Windows

2016-12-28 Thread Yale Zhang
Greetings, I have a patch that adds the plumbing for multitouch support on Windows. I've tested it on testinput and the gesture demo, and they behave correctly. I also fixed some problems with pressure pen (Wintab) support. The tablet devices weren't showing up when calling gdk_seat_get_slaves(),