MCPcopy Create free account
hub / github.com/ZhuYanzhen1/miniFOC / drawLinePlot

Method drawLinePlot

tools/qcustomplot.cpp:21618–21625  ·  view source on GitHub ↗

! \internal Draws lines between the points in \a lines, given in pixel coordinates. \see drawScatterPlot, drawImpulsePlot, QCPAbstractPlottable1D::drawPolyline */

Source from the content-addressed store, hash-verified

21616 \see drawScatterPlot, drawImpulsePlot, QCPAbstractPlottable1D::drawPolyline
21617*/
21618void QCPGraph::drawLinePlot(QCPPainter *painter, const QVector<QPointF> &lines) const
21619{
21620 if (painter->pen().style() != Qt::NoPen && painter->pen().color().alpha() != 0)
21621 {
21622 applyDefaultAntialiasingHint(painter);
21623 drawPolyline(painter, lines);
21624 }
21625}
21626
21627/*! \internal
21628

Callers

nothing calls this directly

Calls 2

alphaMethod · 0.80
colorMethod · 0.45

Tested by

no test coverage detected