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

Method calculateAutoMargin

3rdparty/qcustomplot/qcustomplot.cpp:3568–3571  ·  view source on GitHub ↗

! \internal Returns the margin size for this \a side. It is used if automatic margins is enabled for this \a side (see \ref setAutoMargins). If a minimum margin was set with \ref setMinimumMargins, the returned value will not be smaller than the specified minimum margin. The default implementation just returns the respective manual margin (\ref setMargins) or the minimum margin, wh

Source from the content-addressed store, hash-verified

3566 minimum margin, whichever is larger.
3567*/
3568int QCPLayoutElement::calculateAutoMargin(QCP::MarginSide side)
3569{
3570 return qMax(QCP::getMarginValue(mMargins, side), QCP::getMarginValue(mMinimumMargins, side));
3571}
3572
3573/*! \internal
3574

Callers 1

commonMarginMethod · 0.80

Calls 4

offsetMethod · 0.80
calculateMarginMethod · 0.80
valueMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected