MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / get_trig_rect

Method get_trig_rect

DSView/pv/view/dsosignal.cpp:958–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956}
957
958QRectF DsoSignal::get_trig_rect(int left, int right)
959{
960 (void)left;
961
962 return QRectF(right + SquareWidth / 2,
963 ratio2pos(get_trig_vrate()) - SquareWidth / 2,
964 SquareWidth, SquareWidth);
965}
966
967void DsoSignal::paint_trace(QPainter &p,
968 const pv::data::DsoSnapshot *snapshot,

Callers 1

mousePressEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected