📄 qdgraphics.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#getMaxCompressionSize(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, int, quicktime.std.image.CodecComponent)">getMaxCompressionSize</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int colorDepth, int quality, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> c)</CODE><BR> Determines the maximum size an image will be after compression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#getCompressionTime(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, quicktime.std.image.CodecComponent, int, int)">getCompressionTime</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int colorDepth, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> c, int spatialQuality, int temporalQuality)</CODE><BR> Determines the estimated amount of time required to compress a given image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static float</CODE></FONT></TD><TD><CODE><B>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#getSimilarity(quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.std.image.ImageDescription, quicktime.util.EncodedImage)">getSimilarity</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data)</CODE><BR> Compares a compressed image to a picture stored in a pixel map and returns a value indicating the relative similarity of the two images.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>GraphicsImporter.</B><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> port, <A HREF="../../../quicktime/qd/GDevice.html">GDevice</A> gdh)</CODE><BR> Call this method to give the client the QDGraphics object it should use to do its drawing.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../quicktime/std/image/package-summary.html">quicktime.std.image</A> with parameters of type <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/std/image/CSequence.html#CSequence(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, quicktime.std.image.CodecComponent, int, int, int, int)">CSequence</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> codec, int spatialQuality, int temporalQuality, int keyFrameRate, int flags)</CODE><BR> Creating an instance of this class signals the beginning of the process of compressing a sequence of frames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/std/image/CSequence.html#CSequence(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, quicktime.std.image.CodecComponent, int, int, int, quicktime.qd.ColorTable, int)">CSequence</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int colorDepth, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> codec, int spatialQuality, int temporalQuality, int keyFrameRate, <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A> clut, int flags)</CODE><BR> Creating an instance of this class signals the beginning of the process of compressing a sequence of frames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/std/image/DSequence.html#DSequence(quicktime.std.image.ImageDescription, quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.std.image.Matrix, quicktime.qd.Region, int, int, quicktime.std.image.CodecComponent)">DSequence</A></B>(<A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> port, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> matrix, <A HREF="../../../quicktime/qd/Region.html">Region</A> mask, int flags, int accuracy, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> codec)</CODE><BR> Creating an instance of this class signals the beginning of the process of decompressing a sequence of frames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/std/image/DSequence.html#DSequence(quicktime.std.image.ImageDescription, quicktime.util.EncodedImage, quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.std.image.Matrix, quicktime.qd.Region, int, int, quicktime.std.image.CodecComponent)">DSequence</A></B>(<A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> port, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> matrix, <A HREF="../../../quicktime/qd/Region.html">Region</A> mask, int flags, int accuracy, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> codec)</CODE><BR> This constructor allows you to pass a compressed sample so the codec can perform preflighting before the first decompressFrame call.</TD></TR></TABLE> <P><A NAME="quicktime.std.movies"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> in <A HREF="../../../quicktime/std/movies/package-summary.html">quicktime.std.movies</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../quicktime/std/movies/package-summary.html">quicktime.std.movies</A> that return <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B>MovieController.</B><B><A HREF="../../../quicktime/std/movies/MovieController.html#getPort()">getPort</A></B>()</CODE><BR> This method returns a movie controller's color graphics port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B>Movie.</B><B><A HREF="../../../quicktime/std/movies/Movie.html#getGWorld()">getGWorld</A></B>()</CODE><BR> Your application can determine a movie's graphics world by calling the getGWorld method.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../quicktime/std/movies/package-summary.html">quicktime.std.movies</A> with parameters of type <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>MovieController.</B><B><A HREF="../../../quicktime/std/movies/MovieController.html#setMovie(quicktime.std.movies.Movie, quicktime.qd.QDGraphics, quicktime.qd.QDPoint)">setMovie</A></B>(<A HREF="../../../quicktime/std/movies/Movie.html">Movie</A> aMovie, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> movieWindow, <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A> location)</CODE><BR> This method replaces the current movie controlled by the movie controller with a new movie.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>MovieController.</B><B><A HREF="../../../quicktime/std/movies/MovieController.html#setPort(quicktime.qd.QDGraphics)">setPort</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> grafPtr)</CODE><BR> This method allows your application to set the graphics port for a movie controller.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/Region.html">Region</A></CODE></FONT></TD><TD><CODE><B>MovieController.</B><B><A HREF="../../../quicktime/std/movies/MovieController.html#getWindowRgn(quicktime.qd.QDGraphics)">getWindowRgn</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> window)</CODE><BR> This method allows your application to determine the window region that is actually in use by a controller and its movie.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>MovieController.</B><B><A HREF="../../../quicktime/std/movies/MovieController.html#activate(quicktime.qd.QDGraphics, boolean)">activate</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> window, boolean activate)</CODE><BR> This method can be used in response to activate, deactivate, suspend, and resume events.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>MovieController.</B><B><A HREF="../../../quicktime/std/movies/MovieController.html#invalidate(quicktime.qd.QDGraphics, quicktime.qd.Region)">invalidate</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> window, <A HREF="../../../quicktime/qd/Region.html">Region</A> invalidRgn)</CODE><BR> This method allows your application to invalidate portions of a movie controller.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Movie.</B><B><A HREF="../../../quicktime/std/movies/Movie.html#setGWorld(quicktime.qd.QDGraphics, quicktime.qd.GDevice)">setGWorld</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> port, <A HREF="../../../quicktime/qd/GDevice.html">GDevice</A> gdh)</CODE><BR> The setGWorld method allows your application to establish a movie's display coordinate system by setting the graphics world for displaying a movie.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -