Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_plot_rasteritem.h


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_rasteritem.h

    r8127 r9383  
    5151        /*!
    5252          renderImage() is called, whenever the image cache is not valid,
    53           or the scales, or the size of the canvas has changed. 
     53          or the scales, or the size of the canvas has changed.
    5454
    55           This type of cache is useful for improving the performance 
    56           of hide/show operations or manipulations of the alpha value. 
     55          This type of cache is useful for improving the performance
     56          of hide/show operations or manipulations of the alpha value.
    5757          All other situations are handled by the canvas backing store.
    5858         */
     
    6969          When the image is rendered according to the data pixels
    7070          ( QwtRasterData::pixelHint() ) it can be expanded to paint
    71           device resolution before it is passed to QPainter. 
    72           The expansion algorithm rounds the pixel borders in the same 
     71          device resolution before it is passed to QPainter.
     72          The expansion algorithm rounds the pixel borders in the same
    7373          way as the axis ticks, what is usually better than the
    7474          scaling algorithm implemented in Qt.
    75           Disabling this flag might make sense, to reduce the size of a 
     75          Disabling this flag might make sense, to reduce the size of a
    7676          document/file. If this is possible for a document format
    7777          depends on the implementation of the specific QPaintEngine.
     
    8484    typedef QFlags<PaintAttribute> PaintAttributes;
    8585
    86     explicit QwtPlotRasterItem( const QString& title = QString::null );
     86    explicit QwtPlotRasterItem( const QString& title = QString() );
    8787    explicit QwtPlotRasterItem( const QwtText& title );
    8888    virtual ~QwtPlotRasterItem();
     
    9999    void invalidateCache();
    100100
    101     virtual void draw( QPainter *p,
     101    virtual void draw( QPainter *,
    102102        const QwtScaleMap &xMap, const QwtScaleMap &yMap,
    103         const QRectF &rect ) const;
     103        const QRectF &canvasRect ) const;
    104104
    105105    virtual QRectF pixelHint( const QRectF & ) const;
     
    110110protected:
    111111    /*!
    112       \brief Render an image 
     112      \brief Render an image
    113113
    114114      An implementation of render() might iterate over all
    115       pixels of imageRect. Each pixel has to be translated into 
     115      pixels of imageRect. Each pixel has to be translated into
    116116      the corresponding position in scale coordinates using the maps.
    117117      This position can be used to look up a value in a implementation
     
    122122      \param area Requested area for the image in scale coordinates
    123123      \param imageSize Requested size of the image
    124    
     124
    125125      \return Rendered image
    126126     */
Note: See TracChangeset for help on using the changeset viewer.