#include <ZDirectPixmap.h>
Inheritance diagram for ZDirectPixmap::
Public Methods | |
ZDirectPixmap (int width, int height, int depth=-1) | |
Constructor for a DirectPixmap. More... | |
unsigned char* | bits () |
returns a pointer to the actual data contained in the pixmap. More... | |
const unsigned char* | bits () const |
returns a const pointer to the actual data contained in the pixmap. More... | |
int | bytesPerLine () const |
returns the number of bytes per line for the pixmap. More... |
Qt does not allow applications to access the individual bytes of a QPixmap because, traditionally, the QPixmap might live on another computer (an X-Windows server, for example). However, qt-embedded applications don't have this restriction. So ZDirectPixmap was created to allow a QPixmap to be directly accessible.
|
Constructor for a DirectPixmap.
|
|
returns a const pointer to the actual data contained in the pixmap.
|
|
returns a pointer to the actual data contained in the pixmap.
|
|
returns the number of bytes per line for the pixmap.
|