| commit | e606d6e210b17dd9dd582d4d3ec70acb4f3213d5 | [log] [tgz] |
|---|---|---|
| author | chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jul 12 14:31:25 2012 +0000 |
| committer | chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jul 12 14:31:25 2012 +0000 |
| tree | 0435ebc517896f6958ef4e1ab99372197c1d2d6e | |
| parent | e565de4fad5598890124daadf385930043269415 [diff] |
SkHitBox added. SkHitBox is a class that determines which draw command is associated with the pixel located at x,y. By calculating a single point instead of the entire bitmap at once there is no visible performance slowdown. Review URL: https://codereview.appspot.com/6350098 git-svn-id: http://skia.googlecode.com/svn/trunk@4565 2bbb7eff-a529-9590-31e7-b0007b416f81