📄 qdrect.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Matrix.</B><B><A HREF="../../../quicktime/std/image/Matrix.html#map(quicktime.qd.QDRect, quicktime.qd.QDRect)">map</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> fromRect, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> toRect)</CODE><BR> alters an existing matrix so that it defines a transformation from one rectangle to another.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#compress(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, quicktime.util.EncodedImage)">compress</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int quality, int cType, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data)</CODE><BR> Compresses a single frame image that is currently stored as a pixel map.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#fCompress(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, int, quicktime.std.image.CodecComponent, quicktime.qd.ColorTable, int, quicktime.util.EncodedImage)">fCompress</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, <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A> clut, int flags, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data)</CODE><BR> Compresses a single frame image that is currently stored as a pixel map.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#trim(quicktime.std.image.ImageDescription, quicktime.util.EncodedImage, quicktime.util.EncodedImage, quicktime.qd.QDRect)">trim</A></B>(<A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> inData, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> outData, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> trimRect)</CODE><BR> Ajusts a compressed image to the boundaries defined by a QDRect specified by your application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#decompress(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription, quicktime.qd.QDGraphics, quicktime.qd.QDRect, int)">decompress</A></B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data, <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> dst, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> dstRect, int mode)</CODE><BR> Decompresses a single frame image into a pixel map structure.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#decompress(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription, quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.qd.QDRect, int, quicktime.qd.Region)">decompress</A></B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data, <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> dst, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> dstRect, int mode, <A HREF="../../../quicktime/qd/Region.html">Region</A> mask)</CODE><BR> Decompresses a single frame image into a pixel map structure.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#fDecompress(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription, quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.std.image.Matrix, int, quicktime.qd.Region, quicktime.qd.PixMap, quicktime.qd.QDRect, int, quicktime.std.image.CodecComponent)">fDecompress</A></B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data, <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> dst, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> matrix, int mode, <A HREF="../../../quicktime/qd/Region.html">Region</A> mask, <A HREF="../../../quicktime/qd/PixMap.html">PixMap</A> matte, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> matteRect, int accuracy, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> codec)</CODE><BR> Decompresses a single frame image into a pixel map structure.</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#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#setSourceRect(quicktime.qd.QDRect)">setSourceRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B>GraphicsImporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#setBoundsRect(quicktime.qd.QDRect)">setBoundsRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds)</CODE><BR> Defines the rectangle in which to draw an image.</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#setDestRect(quicktime.qd.QDRect)">setDestRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> destRect)</CODE><BR> Sets the destination rectangle.</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>DSequence.</B><B><A HREF="../../../quicktime/std/image/DSequence.html#setSrcRect(quicktime.qd.QDRect)">setSrcRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect)</CODE><BR> This method defines the portion of the image to decompress.</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>DSequence.</B><B><A HREF="../../../quicktime/std/image/DSequence.html#setMatte(quicktime.qd.PixMap, quicktime.qd.QDRect)">setMatte</A></B>(<A HREF="../../../quicktime/qd/PixMap.html">PixMap</A> matte, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> matteRect)</CODE><BR> This method assigns a blend matte to the sequence.</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/QDRect.html">QDRect</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,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -