MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / clipRect

Method clipRect

3rdparty/qcustomplot/qcustomplot.cpp:1654–1660  ·  view source on GitHub ↗

! \internal Returns the clipping rectangle of this layerable object. By default, this is the viewport of the parent QCustomPlot. Specific subclasses may reimplement this function to provide different clipping rects. The returned clipping rect is set on the painter before the draw function of the respective object is called. */

Source from the content-addressed store, hash-verified

1652 object is called.
1653*/
1654QRect QCPLayerable::clipRect() const
1655{
1656 if (mParentPlot)
1657 return mParentPlot->viewport();
1658 else
1659 return {};
1660}
1661
1662/*! \internal
1663

Callers 2

foreachFunction · 0.80
foreachFunction · 0.80

Calls 3

QRectClass · 0.85
axisRectMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected