Qt 3 Support Members for QBitmapОписанные ниже члены класса являются частью слоя поддержки Qt 3. Они введены для поддержки старого кода в Qt 4. Мы советуем не использовать их во вновь создаваемом коде. Открытые функции
Описание функций-членовQBitmap::QBitmap ( int width, int height, bool clear )Constructs a bitmap with the given width and height. If clear is true, the bits are initialized to Qt::color0. Use the corresponding QBitmap() constructor instead, and then call the clear() function if the clear parameter is true. QBitmap::QBitmap ( const QSize & size, bool clear )Constructs a bitmap with the given size. If clear is true, the bits are initialized to Qt::color0. Use the corresponding QBitmap() constructor instead, and then call the clear() function if the clear parameter is true. QBitmap::QBitmap ( int width, int height, const uchar * bits, bool isXbitmap = false )Constructs a bitmap with the given width and height, and sets the contents to the bits supplied. The isXbitmap flag should be true if bits was generated by the X11 bitmap program. Use the static fromData() function instead. If isXbitmap is true, use the default bit order(QImage_FormatMonoLSB) otherwise use QImage::Format_Mono. QBitmap::QBitmap ( const QImage & image )Constructs a bitmap that is a copy of the given image. Use the static fromImage() function instead. QBitmap::QBitmap ( const QSize & size, const uchar * bits, bool isXbitmap = false )Это перегруженная функция. Constructs a bitmap with the given size, and sets the contents to the bits supplied. The isXbitmap flag should be true if bits was generated by the X11 bitmap program. Use the static fromData() function instead. If isXbitmap is true, use the default bit order(QImage_FormatMonoLSB) otherwise use QImage::Format_Mono. QBitmap QBitmap::xForm ( const QMatrix & matrix ) constReturns a copy of this bitmap, transformed according to the given matrix. Use transformed() instead. QBitmap & QBitmap::operator= ( const QImage & image )Это перегруженная функция. Converts the given image to a bitmap, and assigns the result to this bitmap. Returns a reference to the bitmap. Use the static fromImage() function instead.
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |