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

Function foreach

qcustomplot/qcustomplot.cpp:1120–1130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1118void QCPLayer::draw(QCPPainter *painter)
1119{
1120 foreach (QCPLayerable *child, mChildren)
1121 {
1122 if (child->realVisibility())
1123 {
1124 painter->save();
1125 painter->setClipRect(child->clipRect().translated(0, -1));
1126 child->applyDefaultAntialiasingHint(painter);
1127 child->draw(painter);
1128 painter->restore();
1129 }
1130 }
1131}
1132
1133/*! \internal

Callers 9

~QCPItemAnchorMethod · 0.70
~QCPItemPositionMethod · 0.70
axisRectsMethod · 0.70
layoutElementAtMethod · 0.70
axisRectAtMethod · 0.70
selectedAxesMethod · 0.70
selectedLegendsMethod · 0.70
rescaleAxesMethod · 0.70
processRectSelectionMethod · 0.70

Calls 15

axisFunction · 0.85
realVisibilityMethod · 0.80
saveMethod · 0.80
clipRectMethod · 0.80
drawMethod · 0.80
restoreMethod · 0.80
containsMethod · 0.80
commonMarginMethod · 0.80
initializeParentPlotMethod · 0.80
appendMethod · 0.80
axisRectMethod · 0.80

Tested by

no test coverage detected