📄 qdrect.html
字号:
<BR> Returns a copy of the bounding rectangle of the Region.</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>OpenCPicParams.</B><B><A HREF="../../../quicktime/qd/OpenCPicParams.html#getSrcRect()">getSrcRect</A></B>()</CODE><BR> Gets the bounding rectangle of the picture.</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/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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/qd/Pict.html">Pict</A></CODE></FONT></TD><TD><CODE><B>Pict.</B><B><A HREF="../../../quicktime/qd/Pict.html#thumbnailFromQDGraphics(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int)">thumbnailFromQDGraphics</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> qd, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> src, int colorDepth)</CODE><BR> Creates an 80-by-80 pixel thumbnail picture from the pixmap associated with this QDGraphics.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/qd/Pict.html">Pict</A></CODE></FONT></TD><TD><CODE><B>Pict.</B><B><A HREF="../../../quicktime/qd/Pict.html#fromSequenceGrabber(quicktime.std.sg.SequenceGrabber, quicktime.qd.QDRect, int, int)">fromSequenceGrabber</A></B>(<A HREF="../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A> sg, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds, int offscreenDepth, int grabPictFlags)</CODE><BR> Provides a simple interface to obtain a QuickDraw picture from a sequence grabber component.</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>Pict.</B><B><A HREF="../../../quicktime/qd/Pict.html#draw(quicktime.qd.QDGraphics, quicktime.qd.QDRect)">draw</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> cg, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> frameRect)</CODE><BR> To draw a picture on any type of output device.</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>Pict.</B><B><A HREF="../../../quicktime/qd/Pict.html#drawTrimmed(quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.qd.Region, int)">drawTrimmed</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> cg, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> frameRect, <A HREF="../../../quicktime/qd/Region.html">Region</A> trimMask, int doDither)</CODE><BR> Allows the drawing of an image that is stored as a picture.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/Pict.html">Pict</A></CODE></FONT></TD><TD><CODE><B>QDGraphics.</B><B><A HREF="../../../quicktime/qd/QDGraphics.html#makeThumbnail(quicktime.qd.QDRect, int)">makeThumbnail</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> src, int colorDepth)</CODE><BR> Creates an 80-by-80 pixel thumbnail picture from the pixmap associated with this QDGraphics.</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#clipRect(quicktime.qd.QDRect)">clipRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> r)</CODE><BR> To change the clipping region of this QDGraphics, use the ClipRect procedure.</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#frameArc(quicktime.qd.QDRect, int, int)">frameArc</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area, int startAngle, int arcAngle)</CODE><BR> Using Pen size of the graphics pen for the current graphics port, FrameArc draws an arc of the oval bounded by the rectangle that you specify in the area parameter.</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#paintArc(quicktime.qd.QDRect, int, int)">paintArc</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area, int startAngle, int arcAngle)</CODE><BR> Using the pen mode of the current graphics port, PaintArc draws a wedge of the oval bounded by the rectangle that you specify in the area parameter.</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#eraseArc(quicktime.qd.QDRect, int, int)">eraseArc</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area, int startAngle, int arcAngle)</CODE><BR> EraseArc draws a wedge of the oval bounded by the rectangle that you specify in the area parameter with the background pattern for the current graphics port.</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#invertArc(quicktime.qd.QDRect, int, int)">invertArc</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area, int startAngle, int arcAngle)</CODE><BR> InvertArc inverts the pixels enclosed by a wedge of the oval bounded by the rectangle that you specify in the area parameter.</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#frameRoundRect(quicktime.qd.QDRect, int, int)">frameRoundRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area, int ovalWidth, int ovalHeight)</CODE><BR> Using the Pen size of the graphics pen for the current graphics port, FrameRoundRect draws an outline just inside the rounded rectangle bounded by the rectangle that you specify in the area parameter.</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#paintRoundRect(quicktime.qd.QDRect, int, int)">paintRoundRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area, int ovalWidth, int ovalHeight)</CODE><BR> Using Pen mode of the graphics pen for the current graphics port, the PaintRoundRect procedure draws the interior of the rounded rectangle bounded by the rectangle that you specify in the area parameter.</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#eraseRoundRect(quicktime.qd.QDRect, int, int)">eraseRoundRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area, int ovalWidth, int ovalHeight)</CODE><BR> EraseRoundRect draws the interior of the rounded rectangle bounded by the rectangle that you specify in the area parameter with the background settings of the current graphics port.</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#invertRoundRect(quicktime.qd.QDRect, int, int)">invertRoundRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area, int ovalWidth, int ovalHeight)</CODE><BR> The InvertRoundRect procedure inverts the pixels enclosed by the rounded rectangle bounded by the rectangle that you specify in the area parameter.</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#frameOval(quicktime.qd.QDRect)">frameOval</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area)</CODE><BR> Using the Pen mode, and size of the graphics pen for the current graphics port, the FrameOval procedure draws an outline just inside the oval with the bounding rectangle that you specify in the area parameter.</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#paintOval(quicktime.qd.QDRect)">paintOval</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area)</CODE><BR> Using the pen mode for the current graphics port, the PaintOval procedure draws the interior of an oval just inside the bounding rectangle that you specify in the area parameter.</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#eraseOval(quicktime.qd.QDRect)">eraseOval</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area)</CODE><BR> Using the background pattern for the current graphics port and the patCopy pattern mode, the EraseOval procedure draws the interior of an oval just inside the bounding rectangle that you specify in the area parameter.</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#invertOval(quicktime.qd.QDRect)">invertOval</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area)</CODE><BR> The InvertOval procedure inverts the pixels enclosed by an oval just inside the bounding rectangle that you specify in the area parameter.</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#frameRect(quicktime.qd.QDRect)">frameRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> area)</CODE><BR> Using the pen size of the graphics pen for the current graphics port, the FrameRect procedure draws an outline just inside the rectangle that you specify in the area parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -