Changeset 11158 in ntrip for trunk/BNC/qwt/qwt_pixel_matrix.cpp
- Timestamp:
- Nov 3, 2026, 10:53:35 AM (3 weeks ago)
- File:
-
- 1 edited
-
trunk/BNC/qwt/qwt_pixel_matrix.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_pixel_matrix.cpp
r8127 r11158 1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*-*****************************1 /****************************************************************************** 2 2 * Qwt Widget Library 3 3 * Copyright (C) 1997 Josef Wilgen … … 11 11 12 12 /*! 13 \brief Constructor 13 \brief Constructor 14 14 15 \param rect Bounding rectangle for the matrix 16 */ 17 QwtPixelMatrix::QwtPixelMatrix( const QRect& rect ) :18 QBitArray( qMax( rect.width() * rect.height(), 0 ) ) ,19 d_rect( rect )15 \param rect Bounding rectangle for the matrix 16 */ 17 QwtPixelMatrix::QwtPixelMatrix( const QRect& rect ) 18 : QBitArray( qMax( rect.width() * rect.height(), 0 ) ) 19 , m_rect( rect ) 20 20 { 21 21 } … … 35 35 void QwtPixelMatrix::setRect( const QRect& rect ) 36 36 { 37 if ( rect != d_rect )37 if ( rect != m_rect ) 38 38 { 39 d_rect = rect;39 m_rect = rect; 40 40 const int sz = qMax( rect.width() * rect.height(), 0 ); 41 41 resize( sz ); … … 48 48 QRect QwtPixelMatrix::rect() const 49 49 { 50 return d_rect;50 return m_rect; 51 51 }
Note:
See TracChangeset
for help on using the changeset viewer.
