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

Method get_view_rect

DSView/pv/view/mathtrace.cpp:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183QRect MathTrace::get_view_rect()
184{
185 assert(_viewport);
186 return QRect(0, DsoSignal::UpMargin,
187 _viewport->width() - DsoSignal::RightMargin,
188 _viewport->height() - DsoSignal::UpMargin - DsoSignal::DownMargin);
189}
190
191void MathTrace::paint_back(QPainter &p, int left, int right, QColor fore, QColor back)
192{

Callers

nothing calls this directly

Calls 1

QRectClass · 0.70

Tested by

no test coverage detected