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

bool QImage::isNull (  )  const

Returns true if it is a null image, otherwise returns false.

A null image has all parameters set to zero and no allocated data.

Definition at line 1460 of file qimage.cpp.

Referenced by QPainter::begin(), copy(), Q3ImageDrag::decode(), QPainter::drawImage(), QCleanlooksStyle::drawPrimitive(), QBitmap::fromImage(), QPixmap::load(), load(), loadFromData(), operator<<(), QPixmap::QPixmap(), rgbSwapped(), save(), and QBrush::setTextureImage().

{
    return !d;
}


Generated by  Doxygen 1.6.0   Back to index