📄 qdrect.html
字号:
<TD><CODE><B>SpriteWorld.</B><B><A HREF="../../../quicktime/std/anim/SpriteWorld.html#setBounds(quicktime.qd.QDRect)">setBounds</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds)</CODE><BR> Sets the bounds of the SpriteWorld by scaling its matrix.</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>SpriteWorld.</B><B><A HREF="../../../quicktime/std/anim/SpriteWorld.html#invalidate(quicktime.qd.QDRect)">invalidate</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> invalidArea)</CODE><BR> This method allows a rectangular area of the sprite world to be invalidated, which will force it to redraw the next time SpriteWorldIdle is called.</TD></TR></TABLE> <P><A NAME="quicktime.std.image"><!-- --></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/QDRect.html">QDRect</A> in <A HREF="../../../quicktime/std/image/package-summary.html">quicktime.std.image</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/image/package-summary.html">quicktime.std.image</A> that return <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B>GraphicsExporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsExporter.html#getInputImageDimensions()">getInputImageDimensions</A></B>()</CODE><BR> Used by format-specific graphics exporters, especially when doing standalone export: Returns the dimensions of the input image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B>ImageDescription.</B><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getBounds()">getBounds</A></B>()</CODE><BR> Return a QDRect that describes the width and height of the Image the description describes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B>GraphicsImporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#getSourceRect()">getSourceRect</A></B>()</CODE><BR> Determines the current source rectangle for an image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B>GraphicsImporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#getNaturalBounds()">getNaturalBounds</A></B>()</CODE><BR> Determines the bounding rectangle of an image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B>GraphicsImporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#getBoundsRect()">getBoundsRect</A></B>()</CODE><BR> Determines the bounding rectangle for drawing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B>GraphicsImporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#getDefaultSourceRect()">getDefaultSourceRect</A></B>()</CODE><BR> Returns the default source rect, if one is stored in the image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B>GraphicsImporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#getDestRect()">getDestRect</A></B>()</CODE><BR> Returns the destination rectangle.</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/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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>GraphicsExporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsExporter.html#drawInputImage(quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.qd.QDRect)">drawInputImage</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> gw, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> destRect)</CODE><BR> Used by format-specific graphics exporters, especially when doing standalone export: Draws a rectangular portion of the input image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/CompressedFrameInfo.html">CompressedFrameInfo</A></CODE></FONT></TD><TD><CODE><B>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#compressFrame(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, quicktime.util.EncodedImage)">compressFrame</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int flags, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data)</CODE><BR> Your application calls this method to compress one of a sequence of frames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/CompressedFrameInfo.html">CompressedFrameInfo</A></CODE></FONT></TD><TD><CODE><B>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#compressFrame(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, quicktime.util.IntEncodedImage)">compressFrame</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int flags, <A HREF="../../../quicktime/util/IntEncodedImage.html">IntEncodedImage</A> data)</CODE><BR> Your application calls this method to compress one of a sequence of frames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/CompressedFrameInfo.html">CompressedFrameInfo</A></CODE></FONT></TD><TD><CODE><B>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#compressFrame(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, quicktime.util.ByteEncodedImage)">compressFrame</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int flags, <A HREF="../../../quicktime/util/ByteEncodedImage.html">ByteEncodedImage</A> data)</CODE><BR> Your application calls this method to compress one of a sequence of frames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/CompressedFrameInfo.html">CompressedFrameInfo</A></CODE></FONT></TD><TD><CODE><B>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#compressFrame(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, quicktime.util.RawEncodedImage)">compressFrame</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int flags, <A HREF="../../../quicktime/util/RawEncodedImage.html">RawEncodedImage</A> data)</CODE><BR> Your application calls this method to compress one of a sequence of frames.</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>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#setPrev(quicktime.qd.QDGraphics, quicktime.qd.QDRect)">setPrev</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> prev, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> prevRect)</CODE><BR> This method allows the application to set the pixel map and boundary rectangle used by the previous frame in temporal compression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/QTImage.html">QTImage</A></CODE></FONT></TD><TD><CODE><B>ImageDescription.</B><B><A HREF="../../../quicktime/std/image/ImageDescription.html#fromImageCompressionDialog(quicktime.std.qtcomponents.ImageCompressionDialog, quicktime.qd.QDGraphics, quicktime.qd.QDRect)">fromImageCompressionDialog</A></B>(<A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html">ImageCompressionDialog</A> icd, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect)</CODE><BR> Compresses a frame that is sourced by a PixMap from the supplied QDGraphics, returning the compressed data and an image description.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Matrix.</B><B><A HREF="../../../quicktime/std/image/Matrix.html#transformDRect(quicktime.qd.QDRect)">transformDRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r)</CODE><BR> transforms the upper left and lower right points of a rectangle through a specified matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Matrix.</B><B><A HREF="../../../quicktime/std/image/Matrix.html#transformDRect(quicktime.qd.QDRect, quicktime.qd.QDPoint[])">transformDRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r, <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>[] points)</CODE><BR> transforms the upper left and lower right points of a rectangle through a specified matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Matrix.</B><B><A HREF="../../../quicktime/std/image/Matrix.html#transformRect(quicktime.qd.QDRect)">transformRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r)</CODE><BR> transforms the upper left and lower right points of a rectangle through a specified matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>Matrix.</B><B><A HREF="../../../quicktime/std/image/Matrix.html#transformRect(quicktime.qd.QDRect, quicktime.qd.QDPoint[])">transformRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r, <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>[] points)</CODE><BR> transforms the upper left and lower right points of a rectangle through a specified matrix.</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>Matrix.</B><B><A HREF="../../../quicktime/std/image/Matrix.html#rect(quicktime.qd.QDRect, quicktime.qd.QDRect)">rect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> dstRect)</CODE><BR> creates a matrix that performs a translate and scale operation as described by the relationship between two rectangles.</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -