📄 graphicsimporter.html
字号:
<DT><B>Parameters:</B><DD><CODE>dataRef</CODE> - Specifies the handle to a QuickTime data reference.</DL></DD></DL><HR><A NAME="getDataHandle()"><!-- --></A><H3>getDataHandle</H3><PRE>public final <A HREF="../../../quicktime/util/QTHandle.html">QTHandle</A> <B>getDataHandle</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the data reference that the graphics resides in. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.23.htm#16230">QuickTime::GraphicsImportGetDataHandle</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The handle to a QuickTime data reference.</DL></DD></DL><HR><A NAME="getImageDescription()"><!-- --></A><H3>getImageDescription</H3><PRE>public final <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> <B>getImageDescription</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the image description information. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1e.htm#35782">QuickTime::GraphicsImportGetImageDescription</a> </b><BR><BR></DL></DD></DL><HR><A NAME="getDataOffset()"><!-- --></A><H3>getDataOffset</H3><PRE>public final int <B>getDataOffset</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the data offset. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1e.htm#25060">QuickTime::GraphicsImportGetDataOffsetAndSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The offset for the data.</DL></DD></DL><HR><A NAME="getDataSize()"><!-- --></A><H3>getDataSize</H3><PRE>public final int <B>getDataSize</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the data size. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1e.htm#25060">QuickTime::GraphicsImportGetDataOffsetAndSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The size of the data.</DL></DD></DL><HR><A NAME="readData(quicktime.util.EncodedImage, int, int)"><!-- --></A><H3>readData</H3><PRE>public final void <B>readData</B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data, int dataOffset, int dataSize) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Reads image data. The pointer must be at least offset + size big. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.24.htm#29335">QuickTime::GraphicsImportReadData</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - The EncodedImage that the data is read into.<DD><CODE>dataOffset</CODE> - Specifies the offset within the pointer where the data is placed. This offset is in bytes.<DD><CODE>dataSize</CODE> - Specifies the size of the data to be read.</DL></DD></DL><HR><A NAME="setClip(quicktime.qd.Region)"><!-- --></A><H3>setClip</H3><PRE>public final void <B>setClip</B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> clipRgn) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Defines the clipping region for drawing. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#22583">QuickTime::GraphicsImportSetClip</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>clipRgn</CODE> - Specifies clipping region.</DL></DD></DL><HR><A NAME="getClip()"><!-- --></A><H3>getClip</H3><PRE>public final <A HREF="../../../quicktime/qd/Region.html">Region</A> <B>getClip</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the current clipping region. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#29557">QuickTime::GraphicsImportGetClip</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current clip region or null, if not possible</DL></DD></DL><HR><A NAME="setSourceRect(quicktime.qd.QDRect)"><!-- --></A><H3>setSourceRect</H3><PRE>public final void <B>setSourceRect</B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Sets the source rectangle to use for an image. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#39449">QuickTime::GraphicsImportSetSourceRect</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sourceRect</CODE> - Specifies source rectangle</DL></DD></DL><HR><A NAME="getSourceRect()"><!-- --></A><H3>getSourceRect</H3><PRE>public final <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> <B>getSourceRect</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the current source rectangle for an image. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#22486">QuickTime::GraphicsImportGetSourceRect</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current source rectangle for an image.</DL></DD></DL><HR><A NAME="getNaturalBounds()"><!-- --></A><H3>getNaturalBounds</H3><PRE>public final <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> <B>getNaturalBounds</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the bounding rectangle of an image. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1e.htm#26968">QuickTime::GraphicsImportGetNaturalBounds</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The size of the bounding rectangle for an image.</DL></DD></DL><HR><A NAME="draw()"><!-- --></A><H3>draw</H3><PRE>public final void <B>draw</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Draws an image. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.20.htm#31812">QuickTime::GraphicsImportDraw</a> </b><BR><BR></DL></DD></DL><HR><A NAME="setMatrix(quicktime.std.image.Matrix)"><!-- --></A><H3>setMatrix</H3><PRE>public final void <B>setMatrix</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> matrix) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Defines the matrix to use for drawing. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#27255">QuickTime::GraphicsImportSetMatrix</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>matrix</CODE> - Specifies the drawing matrix.</DL></DD></DL><HR><A NAME="getMatrix()"><!-- --></A><H3>getMatrix</H3><PRE>public final <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> <B>getMatrix</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the matrix to be used for drawing. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#36355">QuickTime::GraphicsImportGetMatrix</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The matrix specification to use for drawing.</DL></DD></DL><HR><A NAME="setBoundsRect(quicktime.qd.QDRect)"><!-- --></A><H3>setBoundsRect</H3><PRE>public final void <B>setBoundsRect</B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Defines the rectangle in which to draw an image. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#36145">QuickTime::GraphicsImportSetBoundsRect</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - Specifies the bounding rectangle.</DL></DD></DL><HR><A NAME="getBoundsRect()"><!-- --></A><H3>getBoundsRect</H3><PRE>public final <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> <B>getBoundsRect</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the bounding rectangle for drawing. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#34204">QuickTime::GraphicsImportGetBoundsRect</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The bounding rectangle.</DL></DD></DL><HR><A NAME="saveAsPicture(quicktime.io.QTFile, int)"><!-- --></A><H3>saveAsPicture</H3><PRE>public final void <B>saveAsPicture</B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A> file, int scriptTag) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a QuickDraw picture file. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.21.htm#33349">QuickTime::GraphicsImportSaveAsPicture</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - The destination output file of the compressed image<DD><CODE>scriptTag</CODE> - Specifies the depth at which the image is to be compressed.</DL></DD></DL><HR><A NAME="saveAsQuickTimeImageFile(quicktime.io.QTFile, int)"><!-- --></A><H3>saveAsQuickTimeImageFile</H3><PRE>public final void <B>saveAsQuickTimeImageFile</B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A> file, int scriptTag) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a QuickDraw image file. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.21.htm#15389">QuickTime::GraphicsImportSaveAsQuickTimeImageFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fss</CODE> - Specifies the destination file.<DD><CODE>scriptTag</CODE> - Specifies</DL></DD></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -