commit | a027ec5c2dbfbbf10cac9ea538f5e230b093be2f | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Mon Apr 06 16:21:59 2015 -0700 |
committer | Raph Levien <raph@google.com> | Tue Apr 14 23:51:46 2015 -0700 |
tree | e9b6a31e92091d55a10cf17dd1b5828b111feb74 | |
parent | 954850ce5db39324a9f6a4a1ac62a182d88dea83 [diff] |
Add Paint methods for cursor positioning Adds methods to Paint for finding an offset corresponding to an advance, and for finding the advance corresponding to an offset, useful for positioning and drawing a cursor. Change-Id: Id57402ddd1980650f1d0d2f8bbdb75e43612ec51