X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fdecodetrace.h;h=2bb115412f9c5eb562296596a4c7145fc124b95c;hb=3e769a374963f37f7d52b65ef6c56bcdf1ef11fe;hp=ab495fa06f156ff5763d2896db2a215c0a8e1202;hpb=a77dac4e7ab85ac97f7ff63862d28948ae4dec61;p=pulseview.git diff --git a/pv/view/decodetrace.h b/pv/view/decodetrace.h index ab495fa..2bb1154 100644 --- a/pv/view/decodetrace.h +++ b/pv/view/decodetrace.h @@ -90,6 +90,12 @@ public: const std::shared_ptr& decoder() const; + /** + * Computes the vertical extents of the contents of this row item. + * @return A pair containing the minimum and maximum y-values. + */ + std::pair v_extents() const; + /** * Paints the background layer of the trace with a QPainter * @param p the QPainter to paint into.