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

📄 qdgraphics.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;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>&nbsp;src,                      <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,                      int&nbsp;colorDepth,                      int&nbsp;quality,                      int&nbsp;cType,                      <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&nbsp;src,                   <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,                   int&nbsp;colorDepth,                   int&nbsp;cType,                   <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A>&nbsp;c,                   int&nbsp;spatialQuality,                   int&nbsp;temporalQuality)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&nbsp;src,              <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,              <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A>&nbsp;desc,              <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A>&nbsp;data)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&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></TABLE>&nbsp;<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>&nbsp;src,          <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,          int&nbsp;cType,          <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A>&nbsp;codec,          int&nbsp;spatialQuality,          int&nbsp;temporalQuality,          int&nbsp;keyFrameRate,          int&nbsp;flags)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;src,          <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,          int&nbsp;colorDepth,          int&nbsp;cType,          <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A>&nbsp;codec,          int&nbsp;spatialQuality,          int&nbsp;temporalQuality,          int&nbsp;keyFrameRate,          <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A>&nbsp;clut,          int&nbsp;flags)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;desc,          <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;port,          <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,          <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;matrix,          <A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;mask,          int&nbsp;flags,          int&nbsp;accuracy,          <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A>&nbsp;codec)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;desc,          <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A>&nbsp;data,          <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;port,          <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,          <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;matrix,          <A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;mask,          int&nbsp;flags,          int&nbsp;accuracy,          <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A>&nbsp;codec)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This constructor allows you to pass a compressed sample so the codec can perform preflighting before the first decompressFrame call.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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>&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Your application can determine a movie's graphics world by calling the getGWorld method.</TD></TR></TABLE>&nbsp;<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>&nbsp;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>&nbsp;aMovie,         <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;movieWindow,         <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>&nbsp;location)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;grafPtr)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;window)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;window,         boolean&nbsp;activate)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;window,           <A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;invalidRgn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;port,          <A HREF="../../../quicktime/qd/GDevice.html">GDevice</A>&nbsp;gdh)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 + -