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

Method drawCurveLine

qcustomplot/qcustomplot.cpp:22222–22229  ·  view source on GitHub ↗

! \internal Draws lines between the points in \a lines, given in pixel coordinates. \see drawScatterPlot, getCurveLines */

Source from the content-addressed store, hash-verified

22220 \see drawScatterPlot, getCurveLines
22221*/
22222void QCPCurve::drawCurveLine(QCPPainter *painter, const QVector<QPointF> &lines) const
22223{
22224 if (painter->pen().style() != Qt::NoPen && painter->pen().color().alpha() != 0)
22225 {
22226 applyDefaultAntialiasingHint(painter);
22227 drawPolyline(painter, lines);
22228 }
22229}
22230
22231/*! \internal
22232

Callers

nothing calls this directly

Calls 2

alphaMethod · 0.80
colorMethod · 0.80

Tested by

no test coverage detected