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

Method drawLinePlot

qcustomplot/qcustomplot.cpp:20863–20870  ·  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

20861 \see drawScatterPlot, drawImpulsePlot, QCPAbstractPlottable1D::drawPolyline
20862*/
20863void QCPGraph::drawLinePlot(QCPPainter *painter, const QVector<QPointF> &lines) const
20864{
20865 if (painter->pen().style() != Qt::NoPen && painter->pen().color().alpha() != 0)
20866 {
20867 applyDefaultAntialiasingHint(painter);
20868 drawPolyline(painter, lines);
20869 }
20870}
20871
20872/*! \internal
20873

Callers

nothing calls this directly

Calls 2

alphaMethod · 0.80
colorMethod · 0.80

Tested by

no test coverage detected