Searched refs:screen_cy (Results 1 – 3 of 3) sorted by relevance
/dports/graphics/gegl/gegl-0.4.34/bin/ |
H A D | ui-viewer.c | 187 float screen_cy = (pinch_coord[0][1] + pinch_coord[1][1])/2; in on_thumbbar_drag() local 191 y = (o->thumbbar_pan_y + screen_cy) / o->thumbbar_scale; in on_thumbbar_drag() 196 o->thumbbar_pan_y = y * o->thumbbar_scale - screen_cy; in on_thumbbar_drag()
|
H A D | ui-core.c | 1683 get_coords (o, screen_cx, screen_cy, &x, &y); in on_pan_drag() 1686 o->v = y * o->scale - screen_cy; in on_pan_drag() 1785 get_coords (o, screen_cx, screen_cy, &x, &y); in on_pick_drag() 1788 o->v = y * o->scale - screen_cy; in on_pick_drag() 3315 float screen_cy = event->device_y; in on_graph_scroll() local 3318 y = (o->graph_pan_y + screen_cy) / o->graph_scale; in on_graph_scroll() 3333 o->graph_pan_y = y * o->graph_scale - screen_cy; in on_graph_scroll() 3410 y = (o->graph_pan_y + screen_cy) / o->graph_scale; in on_graph_drag() 3415 o->graph_pan_y = y * o->graph_scale - screen_cy; in on_graph_drag() 6880 get_coords (o, screen_cx, screen_cy, &x, &y); in zoom_at() [all …]
|
/dports/graphics/gegl/gegl-0.4.34/bin/lua/ |
H A D | viewer.lua | 74 local screen_cy = (zoom_pinch_coord[1].y + zoom_pinch_coord[2].y)/2; 77 local y = (o.v + screen_cy) / o.scale 81 o.v = y * o.scale - screen_cy;
|