Lines Matching refs:deltas
114 struct point deltas[64]; member
181 struct point deltas[64]; member
847 mask = ARRAY_LENGTH(w->tool.deltas); in draw_tablet()
854 x = w->tool.deltas[first % mask].x; in draw_tablet()
855 y = w->tool.deltas[first % mask].y; in draw_tablet()
859 x = w->tool.deltas[i % mask].x; in draw_tablet()
860 y = w->tool.deltas[i % mask].y; in draw_tablet()
894 mask = ARRAY_LENGTH(w->deltas); in draw_pointer()
900 x = w->deltas[first % mask].x; in draw_pointer()
901 y = w->deltas[first % mask].y; in draw_pointer()
905 x = w->deltas[i % mask].x; in draw_pointer()
906 y = w->deltas[i % mask].y; in draw_pointer()
1021 w->deltas[0].x = w->pointer.x; in window_place_ui_elements()
1022 w->deltas[0].y = w->pointer.y; in window_place_ui_elements()
1394 const int mask = ARRAY_LENGTH(w->deltas); in handle_event_motion()
1403 point = w->deltas[idx]; in handle_event_motion()
1407 w->deltas[idx] = point; in handle_event_motion()
1637 const int mask = ARRAY_LENGTH(w->tool.deltas); in handle_event_tablet()
1658 w->tool.deltas[0].x = w->width/2; in handle_event_tablet()
1659 w->tool.deltas[0].y = w->height/2; in handle_event_tablet()
1692 point = w->tool.deltas[idx]; in handle_event_tablet()
1697 w->tool.deltas[idx] = point; in handle_event_tablet()