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

Method drawLinePlot

3rdparty/qcustomplot/qcustomplot.cpp:21653–21660  ·  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

21651 \see drawScatterPlot, drawImpulsePlot, QCPAbstractPlottable1D::drawPolyline
21652*/
21653void QCPGraph::drawLinePlot(QCPPainter *painter, const QVector<QPointF> &lines) const
21654{
21655 if (painter->pen().style() != Qt::NoPen && painter->pen().color().alpha() != 0)
21656 {
21657 applyDefaultAntialiasingHint(painter);
21658 drawPolyline(painter, lines);
21659 }
21660}
21661
21662/*! \internal
21663

Callers

nothing calls this directly

Calls 2

alphaMethod · 0.80
colorMethod · 0.45

Tested by

no test coverage detected