⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qdgraphics.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#charWidth(int)">charWidth</A></B>(int&nbsp;character)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#clipRect()">clipRect</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;r)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#drawChar(int)">drawChar</A></B>(int&nbsp;character)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;text,         int&nbsp;firstByte,         int&nbsp;byteCount)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/QDGraphics.html#drawTextScaled(int, java.lang.String, float, float)">drawTextScaled</A></B>(int&nbsp;count,               java.lang.String&nbsp;text,               float&nbsp;xScale,               float&nbsp;yScale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area,         int&nbsp;startAngle,         int&nbsp;arcAngle)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;poly)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area,               int&nbsp;ovalWidth,               int&nbsp;ovalHeight)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area,         int&nbsp;startAngle,         int&nbsp;arcAngle)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;poly)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;area,               int&nbsp;ovalWidth,               int&nbsp;ovalHeight)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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>&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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>&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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>&nbsp;ge)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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>&nbsp;gi)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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>&nbsp;m)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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>&nbsp;mc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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&nbsp;ng)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 + -