⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qimageformattype.3qt

📁 Linux下的基于X11的图形开发环境。
💻 3QT
字号:
'\" t.TH QImageFormatType 3qt "9 December 2002" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQImageFormatType \- Factory that makes QImageFormat objects.SH SYNOPSIS\fC#include <qasyncimageio.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "virtual \fB~QImageFormatType\fR ()".br.ti -1c.BI "virtual QImageFormat * \fBdecoderFor\fR ( const uchar * buffer, int length ) = 0".br.ti -1c.BI "virtual const char * \fBformatName\fR () const = 0".br.in -1c.SS "Protected Members".in +1c.ti -1c.BI "\fBQImageFormatType\fR ()".br.in -1c.SH DESCRIPTIONThe QImageFormatType class is a factory that makes QImageFormat objects..PPWhereas the QImageIO class allows for \fIcomplete\fR loading of images, QImageFormatType allows for \fIincremental\fR loading of images..PPNew image file formats are installed by creating objects of derived classes of QImageFormatType. They must implement decoderFor() and formatName()..PPQImageFormatType is a very simple class. Its only task is to recognize image data in some format and make a new object, subclassed from QImageFormat, which can decode that format..PPThe factories for formats built into Qt are automatically defined before any other factory is initialized. If two factories would recognize an image format, the factory created last will override the earlier one; you can thus override current and future built-in formats..PPSee also Graphics Classes, Image Processing Classes, and Multimedia Classes..SH MEMBER FUNCTION DOCUMENTATION.SH "QImageFormatType::QImageFormatType ()\fC [protected]\fR"Constructs a factory. It automatically registers itself with QImageDecoder..SH "QImageFormatType::~QImageFormatType ()\fC [virtual]\fR"Destroys a factory. It automatically unregisters itself from QImageDecoder..SH "QImageFormat * QImageFormatType::decoderFor ( const uchar * buffer, int length )\fC [pure virtual]\fR"Returns a decoder for decoding an image that starts with the bytes in \fIbuffer\fR. The length of the data is given in \fIlength\fR. This function should only return a decoder if it is certain that the decoder applies to data with the given header. Returns 0 if there is insufficient data in the header to make a positive identification or if the data is not recognized..SH "const char * QImageFormatType::formatName () const\fC [pure virtual]\fR"Returns the name of the format supported by decoders from thisfactory. The string is statically allocated..SH "SEE ALSO".BR http://doc.trolltech.com/qimageformattype.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports help us to help you. Thank you..PThe definitive Qt documentation is provided in HTML format; it islocated at $QTDIR/doc/html and can be read using Qt Assistant or witha web browser. This man page is provided as a convenience for thoseusers who prefer man pages, although this format is not officiallysupported by Trolltech. .PIf you find errors in this manual page, please report them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qimageformattype.3qt) and the Qtversion (3.1.1).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -