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

📄 graphicsimporter.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the graphics mode and color for an image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#setGWorld(quicktime.qd.QDGraphics, quicktime.qd.GDevice)">setGWorld</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;port,          <A HREF="../../../quicktime/qd/GDevice.html">GDevice</A>&nbsp;gdh)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call this method to give the client the QDGraphics object it should use to do its drawing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#setImageIndex(int)">setImageIndex</A></B>(int&nbsp;imageIndex)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default image index is 1.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A></B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;matrix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the matrix to use for drawing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#setQuality(int)">setQuality</A></B>(int&nbsp;quality)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the image quality value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#setSourceRect(quicktime.qd.QDRect)">setSourceRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the source rectangle to use for an image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#validate()">validate</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if the current graphics importer data reference contains valid image data.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.std.comp.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/Component.html">Component</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/Component.html#count()">count</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.std.comp.ComponentIdentifier"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentIdentifier, quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#getInfo()">getInfo</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="GraphicsImporter(int)"><!-- --></A><H3>GraphicsImporter</H3><PRE>public <B>GraphicsImporter</B>(int&nbsp;subType)                 throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Opens the specified graphics import component,'grip', with the given subType.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#28411">QuickTime::OpenADefaultComponent</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>subType</CODE> - The graphics import component sub type</DL></DD></DL><HR><A NAME="GraphicsImporter(quicktime.io.QTFile)"><!-- --></A><H3>GraphicsImporter</H3><PRE>public <B>GraphicsImporter</B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A>&nbsp;file)                 throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines and opens the graphics import component to use for the given file.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1d.htm#31495">QuickTime::GetGraphicsImporterForFile</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImageCompMgr.19.htm#pgfId=11892">QuickTime::GetGraphicsImporterForFile</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>file</CODE> - Specifies the source file.</DL></DD></DL><HR><A NAME="GraphicsImporter(quicktime.io.QTFile, int)"><!-- --></A><H3>GraphicsImporter</H3><PRE>public <B>GraphicsImporter</B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A>&nbsp;file,                        int&nbsp;flags)                 throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines and opens the graphics import component to use for the given file.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1d.htm#31495">QuickTime::GetGraphicsImporterForFile</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImageCompMgr.19.htm#pgfId=11892">QuickTime::GetGraphicsImporterForFile</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>file</CODE> - Specifies the source file.<DD><CODE>flags</CODE> - options passed in when opening the component</DL></DD></DL><HR><A NAME="GraphicsImporter(quicktime.std.movies.media.DataRef)"><!-- --></A><H3>GraphicsImporter</H3><PRE>public <B>GraphicsImporter</B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A>&nbsp;dataRef)                 throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines and opens the component to use for the given data reference and data type.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1d.htm#27705">QuickTime::GetGraphicsImporterForDataRef</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImageCompMgr.19.htm">QuickTime::GetGraphicsImporterForDataRef</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>dataRef</CODE> - Specifies the data reference.</DL></DD></DL><HR><A NAME="GraphicsImporter(quicktime.std.movies.media.DataRef, int)"><!-- --></A><H3>GraphicsImporter</H3><PRE>public <B>GraphicsImporter</B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A>&nbsp;dataRef,                        int&nbsp;flags)                 throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Locates and opens a graphics importer component that can be used to draw the specified dataRef. <BR><BR><b>QuickTime::GetGraphicsImporterForDataRefWithFlags</b><BR><BR><DD><DL><DT><B>Parameters:</B><DD><CODE>dataRef</CODE> - Specifies the data reference.<DD><CODE>flags</CODE> - options passed in when opening the component</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="fromGraphicsExporter(quicktime.std.image.GraphicsExporter)"><!-- --></A><H3>fromGraphicsExporter</H3><PRE>public static final <A HREF="../../../quicktime/std/image/GraphicsImporter.html">GraphicsImporter</A> <B>fromGraphicsExporter</B>(<A HREF="../../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A>&nbsp;ge)                                                   throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the GraphicsImporter that is the source for input images to graphics export component	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refExporter.22.htm#41476">QuickTime::GraphicsExportGetInputGraphicsImporter</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a GraphicsImporter object that has the source of input images to the Graphics exporter.</DL></DD></DL><HR><A NAME="setDataReference(quicktime.std.movies.media.DataRef)"><!-- --></A><H3>setDataReference</H3><PRE>public final void <B>setDataReference</B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A>&nbsp;dataRef)                            throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specifies the data reference that the graphics resides in.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.23.htm#37274">QuickTime::GraphicsImportSetDataReference</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataRef</CODE> - Specifies the handle to a QuickTime data reference.</DL></DD></DL><HR><A NAME="getDataReferenceType()"><!-- --></A><H3>getDataReferenceType</H3><PRE>public final int <B>getDataReferenceType</B>()                               throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the type of the data reference that the graphics resides in.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.23.htm#17831">QuickTime::GraphicsImportGetDataReference</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The data reference type.</DL></DD></DL><HR><A NAME="setDataFile(quicktime.io.QTFile)"><!-- --></A><H3>setDataFile</H3><PRE>public final void <B>setDataFile</B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A>&nbsp;fileIn)                       throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Specifies the file that the graphics resides in.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.23.htm#15520">QuickTime::GraphicsImportSetDataFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fileIn</CODE> - Specifies the source file containing the graphics data.</DL></DD></DL><HR><A NAME="getDataFile()"><!-- --></A><H3>getDataFile</H3><PRE>public final <A HREF="../../../quicktime/io/QTFile.html">QTFile</A> <B>getDataFile</B>()                         throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the file that the graphics resides in.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.23.htm#21923">QuickTime::GraphicsImportGetDataFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The file that contains the graphics data.</DL></DD></DL><HR><A NAME="setDataHandle(quicktime.util.QTHandleRef)"><!-- --></A><H3>setDataHandle</H3><PRE>public final void <B>setDataHandle</B>(<A HREF="../../../quicktime/util/QTHandleRef.html">QTHandleRef</A>&nbsp;dataRef)                         throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specifies the data handle that the graphics resides in.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.23.htm#31834">QuickTime::GraphicsImportSetDataHandle</a> </b><BR><BR></DL></DD><DD><DL>

⌨️ 快捷键说明

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