| Qwt User's Guide 6.3.0
    | 
A bit field corresponding to the pixels of a rectangle. More...
#include <qwt_pixel_matrix.h>
| Public Member Functions | |
| QwtPixelMatrix (const QRect &rect) | |
| Constructor. | |
| ~QwtPixelMatrix () | |
| Destructor. | |
| void | setRect (const QRect &rect) | 
| QRect | rect () const | 
| bool | testPixel (int x, int y) const | 
| Test if a pixel has been set. | |
| bool | testAndSetPixel (int x, int y, bool on) | 
| Set a pixel and test if a pixel has been set before. | |
| Public Attributes | |
| int | const | 
A bit field corresponding to the pixels of a rectangle.
QwtPixelMatrix is intended to filter out duplicates in an unsorted array of points.
Definition at line 24 of file qwt_pixel_matrix.h.
| 
 | explicit | 
Constructor.
| rect | Bounding rectangle for the matrix | 
Definition at line 17 of file qwt_pixel_matrix.cpp.
| QwtPixelMatrix::~QwtPixelMatrix | ( | ) | 
Destructor.
Definition at line 24 of file qwt_pixel_matrix.cpp.
| QRect QwtPixelMatrix::rect | ( | ) | const | 
Definition at line 48 of file qwt_pixel_matrix.cpp.
| void QwtPixelMatrix::setRect | ( | const QRect & | rect | ) | 
Set the bounding rectangle of the matrix
| rect | Bounding rectangle | 
Definition at line 35 of file qwt_pixel_matrix.cpp.
| 
 | inline | 
Set a pixel and test if a pixel has been set before.
| x | X-coordinate | 
| y | Y-coordinate | 
| on | Set/Clear the pixel | 
Definition at line 67 of file qwt_pixel_matrix.h.
| 
 | inline | 
Test if a pixel has been set.
| x | X-coordinate | 
| y | Y-coordinate | 
Definition at line 51 of file qwt_pixel_matrix.h.
| int QwtPixelMatrix::const | 
Definition at line 36 of file qwt_pixel_matrix.h.