Ignore:
Timestamp:
Mar 19, 2021, 9:15:03 AM (3 years ago)
Author:
stoecker
Message:

update to qwt verion 6.1.1 to fix build with newer Qt5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_plot_directpainter.cpp

    r8127 r9383  
    1818#include <qpixmap.h>
    1919
    20 static inline void qwtRenderItem( 
     20static inline void qwtRenderItem(
    2121    QPainter *painter, const QRect &canvasRect,
    2222    QwtPlotSeriesItem *seriesItem, int from, int to )
     
    110110
    111111/*!
    112   En/Disables clipping 
     112  En/Disables clipping
    113113
    114114  \param enable Enables clipping is true, disable it otherwise
     
    132132   \brief Assign a clip region and enable clipping
    133133
    134    Depending on the environment setting a proper clip region might improve 
     134   Depending on the environment setting a proper clip region might improve
    135135   the performance heavily. F.e. on Qt embedded only the clipped part of
    136136   the backing store will be copied to a ( maybe unaccelerated ) frame buffer
    137137   device.
    138    
     138
    139139   \param region Clip region
    140140   \sa clipRegion(), hasClipping(), setClipping()
     
    201201
    202202    bool immediatePaint = true;
    203     if ( !canvas->testAttribute( Qt::WA_WState_InPaintEvent ) ) 
     203    if ( !canvas->testAttribute( Qt::WA_WState_InPaintEvent ) )
    204204    {
    205205#if QT_VERSION < 0x050000
     
    221221        if ( d_data->hasClipping )
    222222        {
    223             d_data->painter.setClipRegion( 
     223            d_data->painter.setClipRegion(
    224224                QRegion( canvasRect ) & d_data->clipRegion );
    225225        }
     
    295295            if ( doCopyCache )
    296296            {
    297                 QwtPlotCanvas *plotCanvas = 
     297                QwtPlotCanvas *plotCanvas =
    298298                    qobject_cast<QwtPlotCanvas *>( canvas );
    299299                if ( plotCanvas )
     
    302302                    if ( doCopyCache )
    303303                    {
    304                         painter.drawPixmap( plotCanvas->rect().topLeft(), 
     304                        painter.drawPixmap( plotCanvas->rect().topLeft(),
    305305                            *plotCanvas->backingStore() );
    306306                    }
Note: See TracChangeset for help on using the changeset viewer.