MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / zoom

Method zoom

source/MRViewer/MRTouchpadController.cpp:271–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void TouchpadController::Handler::zoom( float scale, bool kinetic, GestureState state )
272{
273 switch ( state )
274 {
275 case GestureState::Begin:
276 ENQUEUE_VIEWER_METHOD( "Zoom touchpad gesture started", touchpadZoomGestureBegin );
277 break;
278 case GestureState::Update:
279 ENQUEUE_VIEWER_METHOD_ARGS_SKIPABLE( "Zoom touchpad gesture updated", touchpadZoomGestureUpdate, scale, kinetic );
280 break;
281 case GestureState::End:
282 ENQUEUE_VIEWER_METHOD( "Zoom touchpad gesture ended", touchpadZoomGestureEnd );
283 break;
284 }
285}
286
287}

Callers 3

beginGesture_Method · 0.80
endGesture_Method · 0.80
emitZoom_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected