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

Method drawScatterPlot

3rdparty/qcustomplot/qcustomplot.cpp:21639–21645  ·  view source on GitHub ↗

! \internal Draws scatter symbols at every point passed in \a scatters, given in pixel coordinates. The scatters will be drawn with \a painter and have the appearance as specified in \a style. \see drawLinePlot, drawImpulsePlot */

Source from the content-addressed store, hash-verified

21637 \see drawLinePlot, drawImpulsePlot
21638*/
21639void QCPGraph::drawScatterPlot(QCPPainter *painter, const QVector<QPointF> &scatters, const QCPScatterStyle &style) const
21640{
21641 applyScattersAntialiasingHint(painter);
21642 style.applyTo(painter, mPen);
21643 foreach (const QPointF &scatter, scatters)
21644 style.drawShape(painter, scatter.x(), scatter.y());
21645}
21646
21647/*! \internal
21648

Callers

nothing calls this directly

Calls 4

applyToMethod · 0.80
drawShapeMethod · 0.80
sizeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected