Logo Search packages:      
Sourcecode: qt4-x11 version File versions

int QPaintDevice::depth (  )  const [inline, inherited]

Returns the bit depth (number of bit planes) of the paint device.

Reimplemented in QImage, and QPixmap.

Definition at line 102 of file qpaintdevice.h.

Referenced by QRasterPaintEngine::begin(), and MainWindow::keyPressEvent().

{ return metric(PdmDepth); }


Generated by  Doxygen 1.6.0   Back to index