MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / clipRect

Method clipRect

qcustomplot/qcustomplot.cpp:1626–1632  ·  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

1624 object is called.
1625*/
1626QRect QCPLayerable::clipRect() const
1627{
1628 if (mParentPlot)
1629 return mParentPlot->viewport();
1630 else
1631 return QRect();
1632}
1633
1634/*! \internal
1635

Callers 1

foreachFunction · 0.80

Calls 2

axisRectMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected