| 956 | } |
| 957 | |
| 958 | QRectF 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 | |
| 967 | void DsoSignal::paint_trace(QPainter &p, |
| 968 | const pv::data::DsoSnapshot *snapshot, |