📄 qdgraphics.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#charWidth(int)">charWidth</A></B>(int character)</CODE><BR> The CharWidth function returns the width in pixels of the specified character in this QDGraphics 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><A HREF="../../quicktime/qd/QDGraphics.html#clipRect()">clipRect</A></B>()</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><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><A HREF="../../quicktime/qd/QDGraphics.html#drawChar(int)">drawChar</A></B>(int character)</CODE><BR> The DrawChar procedure draws the glyph for the specified character at the current pen location in this QDGraphics 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><A HREF="../../quicktime/qd/QDGraphics.html#drawText(java.lang.String, int, int)">drawText</A></B>(java.lang.String text, int firstByte, int byteCount)</CODE><BR> The DrawText procedure draws the specified text at the current pen location in this QDGraphics 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><A HREF="../../quicktime/qd/QDGraphics.html#drawTextScaled(int, java.lang.String, float, float)">drawTextScaled</A></B>(int count, java.lang.String text, float xScale, float yScale)</CODE><BR> The StdText procedure is a QuickDraw bottleneck routine that can be called directly to obtain scaled (or unscaled) text..</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><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><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><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><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><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> void</CODE></FONT></TD><TD><CODE><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><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><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><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><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><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> void</CODE></FONT></TD><TD><CODE><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>static <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#fromCSequence(quicktime.std.image.CSequence)">fromCSequence</A></B>(<A HREF="../../quicktime/std/image/CSequence.html">CSequence</A> c)</CODE><BR> This method determines the location of the previous image buffer allocated by the compressor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#fromDSequenceImage(quicktime.std.image.DSequence)">fromDSequenceImage</A></B>(<A HREF="../../quicktime/std/image/DSequence.html">DSequence</A> d)</CODE><BR> This method helps you determine the location of the offscreen image buffer allocated by the decompressor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#fromDSequenceScreen(quicktime.std.image.DSequence)">fromDSequenceScreen</A></B>(<A HREF="../../quicktime/std/image/DSequence.html">DSequence</A> d)</CODE><BR> This method enables you to determine the location of the offscreen buffer allocated by the decompressor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#fromGraphicsExporter(quicktime.std.image.GraphicsExporter)">fromGraphicsExporter</A></B>(<A HREF="../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A> ge)</CODE><BR> Call this method to obtain the QDGraphics of the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#fromGraphicsImporter(quicktime.std.image.GraphicsImporter)">fromGraphicsImporter</A></B>(<A HREF="../../quicktime/std/image/GraphicsImporter.html">GraphicsImporter</A> gi)</CODE><BR> Call this method to obtain the QDGraphics of the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#fromMovie(quicktime.std.movies.Movie)">fromMovie</A></B>(<A HREF="../../quicktime/std/movies/Movie.html">Movie</A> m)</CODE><BR> Your application can determine a movie's graphics world by calling the getGWorld method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#fromMovieController(quicktime.std.movies.MovieController)">fromMovieController</A></B>(<A HREF="../../quicktime/std/movies/MovieController.html">MovieController</A> mc)</CODE><BR> This method returns a movie controller's color graphics port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#fromNativeGraphics(quicktime.qd.MacNativeGraphics)">fromNativeGraphics</A></B>(quicktime.qd.MacNativeGraphics ng)</CODE><BR> This will return a QDGraphics object from a native graphics object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -