Lines Matching refs:pinch
159 } pinch; member
541 offset = w->pinch.scale * 100; in draw_gestures()
542 cairo_translate(cr, w->pinch.x, w->pinch.y); in draw_gestures()
543 cairo_rotate(cr, w->pinch.angle * M_PI/180.0); in draw_gestures()
544 if (w->pinch.nfingers > 0) { in draw_gestures()
1036 w->pinch.scale = 1.0; in window_place_ui_elements()
1037 w->pinch.x = w->width/2; in window_place_ui_elements()
1038 w->pinch.y = w->height/2; in window_place_ui_elements()
1584 w->pinch.nfingers = nfingers; in handle_event_pinch()
1585 w->pinch.x = w->width/2; in handle_event_pinch()
1586 w->pinch.y = w->height/2; in handle_event_pinch()
1591 w->pinch.x += dx; in handle_event_pinch()
1592 w->pinch.y += dy; in handle_event_pinch()
1593 w->pinch.scale = libinput_event_gesture_get_scale(g); in handle_event_pinch()
1594 w->pinch.angle += libinput_event_gesture_get_angle_delta(g); in handle_event_pinch()
1597 w->pinch.nfingers = 0; in handle_event_pinch()
1598 w->pinch.x = w->width/2; in handle_event_pinch()
1599 w->pinch.y = w->height/2; in handle_event_pinch()
1600 w->pinch.angle = 0.0; in handle_event_pinch()
1601 w->pinch.scale = 1.0; in handle_event_pinch()