📄 qdexception.html
字号:
<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#framePoly(quicktime.qd.Polygon)">framePoly</A></B>(<A HREF="../../../quicktime/qd/Polygon.html">Polygon</A> poly)</CODE><BR> Using the current graphics port誷 pen size, FramePoly plays back the line-drawing commands that define the polygon passed in the poly 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#paintPoly(quicktime.qd.Polygon)">paintPoly</A></B>(<A HREF="../../../quicktime/qd/Polygon.html">Polygon</A> poly)</CODE><BR> Using the pen pattern and pattern mode for the current graphics port, PaintPoly draws the interior of a polygon passed in the poly 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#erasePoly(quicktime.qd.Polygon)">erasePoly</A></B>(<A HREF="../../../quicktime/qd/Polygon.html">Polygon</A> poly)</CODE><BR> Using the patCopy pattern mode, ErasePoly draws the interior of the polygon passed in the poly 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#invertPoly(quicktime.qd.Polygon)">invertPoly</A></B>(<A HREF="../../../quicktime/qd/Polygon.html">Polygon</A> poly)</CODE><BR> invertPoly inverts the pixels enclosed by the polygon passed in the poly 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"><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#eraseRgn(quicktime.qd.Region)">eraseRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> area)</CODE><BR> Erases the specified region with the current back color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A></CODE></FONT></TD><TD><CODE><B>QDGraphics.</B><B><A HREF="../../../quicktime/qd/QDGraphics.html#getCPixel(int, int)">getCPixel</A></B>(int h, int v)</CODE><BR> Returns the RGB color for the pixel at the location you specify in the h and v parameters.</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#setCPixel(int, int, quicktime.qd.QDColor)">setCPixel</A></B>(int h, int v, <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A> cPix)</CODE><BR> For the pixel at the location you specify in the h and v parameters, the setCPixel procedure sets a pixel value that most closely matches the RGB color that you specify in the cPix 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#penSize(int, int)">penSize</A></B>(int width, int height)</CODE><BR> The PenSize procedure sets the width that you specify in the width parameter and the height that you specify in the height parameter for the graphics pen in 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#penNormal()">penNormal</A></B>()</CODE><BR> The PenNormal procedure restores the size, of the graphics pen in the current graphics port to their initial values: a size of 1 pixel by 1 pixel.</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> void</CODE></FONT></TD><TD><CODE><B>QDGraphics.</B><B><A HREF="../../../quicktime/qd/QDGraphics.html#lineTo(int, int)">lineTo</A></B>(int h, int v)</CODE><BR> The LineTo procedure draws a line from the graphics pen誷 current location in the current graphics port to the new location (h,v), which you specify in the local coordinates 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#line(int, int)">line</A></B>(int h, int v)</CODE><BR> Starting at the current location of the graphics pen, the Line procedure draws a line the horizontal distance that you specify in the h parameter and the vertical distance that you specify in the v 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#moveTo(int, int)">moveTo</A></B>(int h, int v)</CODE><BR> The MoveTo procedure changes the graphics pen誷 current location to the new horizontal coordinate you specify in the h parameter and the new vertical coordinate you specify in the v 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#move(int, int)">move</A></B>(int h, int v)</CODE><BR> The Move procedure moves the graphics pen from its current location in the current graphics port a horizontal distance that you specify in the h parameter and a vertical distance that you specify in the v 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#paintRgn(quicktime.qd.Region)">paintRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> area)</CODE><BR> Paints the specified region with the current foreground 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#frameRgn(quicktime.qd.Region)">frameRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> area)</CODE><BR> Draws an outline just inside the region you pass in the area parameter.</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>QDException.</B><B><A HREF="../../../quicktime/qd/QDException.html#checkError(int)">checkError</A></B>(int err)</CODE><BR> This method will throw an exception if the incoming err argument is a non-zero value.</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#open(quicktime.qd.QDGraphics)">open</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> graphics)</CODE><BR> Begins the recording of lines or frames in the specified QDGraphics that when closed
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -