📄 qdrect.html
字号:
<CODE> void</CODE></FONT></TD><TD><CODE><B>QDGraphics.</B><B><A HREF="../../../quicktime/qd/QDGraphics.html#eraseRect(quicktime.qd.QDRect)">eraseRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area)</CODE><BR> Erases the specified rect with the current back color.</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>QDGraphics.</B><B><A HREF="../../../quicktime/qd/QDGraphics.html#paintRect(quicktime.qd.QDRect)">paintRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area)</CODE><BR> Paints the specified rect with the current foreground color.</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>QDRect.</B><B><A HREF="../../../quicktime/qd/QDRect.html#isDifferentSize(quicktime.qd.QDRect)">isDifferentSize</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> rect)</CODE><BR> Returns true if the QDRect argument is a different size.</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>QDRect.</B><B><A HREF="../../../quicktime/qd/QDRect.html#isDifferentOrigin(quicktime.qd.QDRect)">isDifferentOrigin</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> rect)</CODE><BR> Returns true if the QDRect argument has a different origin.</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>QDRect.</B><B><A HREF="../../../quicktime/qd/QDRect.html#intersects(quicktime.qd.QDRect)">intersects</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r)</CODE><BR> Checks if two QDRects intersect.</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>QDRect.</B><B><A HREF="../../../quicktime/qd/QDRect.html#intersection(quicktime.qd.QDRect)">intersection</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r)</CODE><BR> Computes the intersection of two QDRects, returning the largets rect that encompasses both rects.</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>QDRect.</B><B><A HREF="../../../quicktime/qd/QDRect.html#union(quicktime.qd.QDRect)">union</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r)</CODE><BR> Computes the union of two QDRects, returning the smallest Rect that is the union of the two QDRects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/qd/GDevice.html">GDevice</A></CODE></FONT></TD><TD><CODE><B>GDevice.</B><B><A HREF="../../../quicktime/qd/GDevice.html#getMax(quicktime.qd.QDRect)">getMax</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> globalRect)</CODE><BR> Returns the graphic device with the greatest pixel depth.</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>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#rect(quicktime.qd.QDRect)">rect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r)</CODE><BR> Resets the mathematical structure to the specified rectangle.</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>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#sect(quicktime.qd.QDRect)">sect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r)</CODE><BR> Calculates the intersection of this region and the incoming QDRect and creates a new region representing that structure.</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>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#union(quicktime.qd.QDRect)">union</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> rect)</CODE><BR> Calculates the union of this region and the incoming rect, and creates a new region representing that structure.</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>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#rectIn(quicktime.qd.QDRect)">rectIn</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect)</CODE><BR> Checks whether the specified rectangle intersects the region.</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>Region.</B><B><A HREF="../../../quicktime/qd/Region.html#map(quicktime.qd.QDRect, quicktime.qd.QDRect)">map</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> dstRect)</CODE><BR> Takes the implicit region with one rectangle, maps and scales it to another rectangle.</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/qd/package-summary.html">quicktime.qd</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/qd/QDGraphics.html#QDGraphics(quicktime.std.qtcomponents.ImageCompressionDialog, quicktime.qd.QDRect, int)">QDGraphics</A></B>(<A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html">ImageCompressionDialog</A> d, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> rp, int flags)</CODE><BR> Creates an offscreen QDGraphics based on the current compression settings.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/qd/QDGraphics.html#QDGraphics(quicktime.qd.QDRect)">QDGraphics</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds)</CODE><BR> An offscreen graphics world in Color QuickDraw contains a GWorld - and its handles to associated PixMap and ColorTables - that describe an offscreen graphics port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/qd/QDGraphics.html#QDGraphics(int, quicktime.qd.QDRect)">QDGraphics</A></B>(int pixelFormat, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds)</CODE><BR> An offscreen graphics world in Color QuickDraw contains a GWorld - and its handles to associated PixMap and ColorTables - that describe an offscreen graphics port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/qd/QDGraphics.html#QDGraphics(int, quicktime.qd.QDRect, int)">QDGraphics</A></B>(int pixelFormat, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds, int flags)</CODE><BR> An offscreen graphics world in Color QuickDraw contains a GWorld - and its handles to associated PixMap and ColorTables - that describe an offscreen graphics port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/qd/QDGraphics.html#QDGraphics(int, quicktime.qd.QDRect, quicktime.qd.ColorTable, quicktime.qd.GDevice, int)">QDGraphics</A></B>(int pixelFormat, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds, <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A> cTable, <A HREF="../../../quicktime/qd/GDevice.html">GDevice</A> aGDevice, int flags)</CODE><BR> An offscreen graphics world in Color QuickDraw contains a GWorld - and its handles to associated PixMap and ColorTables - that describe an offscreen graphics port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/qd/Region.html#Region(quicktime.qd.QDRect)">Region</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r)</CODE><BR> Allocates a new region specified by a rectangle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/qd/OpenCPicParams.html#OpenCPicParams(quicktime.qd.QDRect, float, float)">OpenCPicParams</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, float hRes, float vRes)</CODE><BR> The OpenCPicParams as a new object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/qd/OpenCPicParams.html#OpenCPicParams(quicktime.qd.QDRect)">OpenCPicParams</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect)</CODE><BR> The OpenCPicParams as a new object.</TD></TR></TABLE> <P><A NAME="quicktime.std.anim"><!-- --></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/anim/package-summary.html">quicktime.std.anim</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/anim/package-summary.html">quicktime.std.anim</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>SpriteWorld.</B><B><A HREF="../../../quicktime/std/anim/SpriteWorld.html#getBounds()">getBounds</A></B>()</CODE><BR> Returns the current bounds of the SpriteWorld.</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/anim/package-summary.html">quicktime.std.anim</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -