MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / set_zero_vpos

Method set_zero_vpos

DSView/pv/view/dsosignal.cpp:459–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459void DsoSignal::set_zero_vpos(int pos)
460{
461 if (enabled()) {
462 set_zero_ratio(pos2ratio(pos));
463 set_trig_ratio(_trig_delta + get_zero_ratio(), false);
464 }
465}
466
467void DsoSignal::set_zero_ratio(double ratio)
468{

Callers 1

mouseMoveEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected