Chromium Code Reviews
DescriptionHandle floating point coordinates from ozone to exosphere
Most touch coordinate handling within chrome is done with gfx:Points.
Rounding to points works well for most cases, but really degrades
user experience for hand writing with an on-screen stylus.
This change will add variants to a couple of coordinate transformation
methods that will use gfx::PointF instead of gfx::Point.
This allows touch coordinates to be passed from ozone to exosphere in
sub-pixel accuracy, allowing those coordinates to be used in arc++
note taking apps.
BUG=681235
TEST=Test with arc++ drawing apps without smoothing. Lines should
be smooth without distinct steps.
Review-Url: https://codereview.chromium.org/2648583003
Cr-Commit-Position: refs/heads/master@{#445510}
Committed: https://chromium.googlesource.com/chromium/src/+/951e1c2407a8055588e51f2f7768f034c32b3e06
Patch Set 1 #Patch Set 2 : Handle floating point coordinates from ozone to exosphere #
Total comments: 2
Patch Set 3 : added mac/stub/win/X version of EventLocationFromNativeF #Patch Set 4 : added F variant to screen position client. fixed exo tests. #
Total comments: 5
Patch Set 5 : manually transform root_location_f #Patch Set 6 : extended X/mac tests #
Total comments: 4
Patch Set 7 : fixed wayland unittest #
Messages
Total messages: 43 (24 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||