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

Method drawLine

3rdparty/qcustomplot/qcustomplot.cpp:371–377  ·  view source on GitHub ↗

! \overload Works around a Qt bug introduced with Qt 4.8 which makes drawing QLineF unpredictable when antialiasing is disabled. Thus when antialiasing is disabled, it rounds the \a line to integer coordinates and then passes it to the original drawLine. \note this function hides the non-virtual base class implementation. */

Source from the content-addressed store, hash-verified

369 \note this function hides the non-virtual base class implementation.
370*/
371void QCPPainter::drawLine(const QLineF &line)
372{
373 if (mIsAntialiasing || mModes.testFlag(pmVectorized))
374 QPainter::drawLine(line);
375 else
376 QPainter::drawLine(line.toLine());
377}
378
379/*!
380 Sets whether painting uses antialiasing or not. Use this method instead of using setRenderHint

Callers 15

drawMethod · 0.80
drawGridLinesMethod · 0.80
foreachFunction · 0.80
drawShapeMethod · 0.80
drawBracketMethod · 0.80
drawLegendIconMethod · 0.80
drawStatisticalBoxMethod · 0.80
drawOhlcPlotMethod · 0.80
drawCandlestickPlotMethod · 0.80
drawAngularGridMethod · 0.80
drawPolylineMethod · 0.80
drawPolylineMethod · 0.80

Calls 1

drawLineFunction · 0.85

Tested by

no test coverage detected