MCPcopy Create free account
hub / github.com/LUX-Core/lux / clipRect

Method clipRect

src/qt/qcustomplot.cpp:1622–1628  ·  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

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

Callers 1

Q_FOREACHFunction · 0.80

Calls 2

axisRectMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected