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.
NOPRESUBMIT=true
NOTRY=true
Review-Url: https://codereview.chromium.org/2648583003
Cr-Commit-Position: refs/heads/master@{#445510}
(cherry picked from commit 951e1c2407a8055588e51f2f7768f034c32b3e06)
Review-Url: https://codereview.chromium.org/2654653002
Cr-Commit-Position: refs/branch-heads/2987@{#43}
Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943}
Committed: https://chromium.googlesource.com/chromium/src/+/460a6b800eeacd57e0c61d144a919688522e7e6f
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||