📄 imagepresenter.html
字号:
<PRE>public void <B>setMatrix</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> matrix) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method assigns a mapping matrix to the sequence. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.26.htm#iqImag176">QuickTime::SetDSequenceMatrix</a> </b><BR><BR><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>matrix</CODE> - a Matrix object that specifies how to transform the image during decompression</DL></DD></DL><HR><A NAME="getInitialSize()"><!-- --></A><H3>getInitialSize</H3><PRE>public java.awt.Dimension <B>getInitialSize</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD><B>Deprecated.</B> <I>since QTJava 4.0</I><P><DD>This method returns the original size before the transformations specified in the returned matrix are applied.<DD><DL></DL></DD><DD><DL><DT><B>See Also: </B><DD><CODE>()</CODE></DL></DD></DL><HR><A NAME="getOriginalSize()"><!-- --></A><H3>getOriginalSize</H3><PRE>public <A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A> <B>getOriginalSize</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method returns the original size before the transformations specified in the returned matrix are applied.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Transformable.html#getOriginalSize()">getOriginalSize</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the original size of the image data presented.</DL></DD></DL><HR><A NAME="getImage()"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> <B>getImage</B>()</PRE><DL><DD>This method returns the actual image data.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/ImageSpec.html#getImage()">getImage</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the image data</DL></DD></DL><HR><A NAME="getGWorld()"><!-- --></A><H3>getGWorld</H3><PRE>public <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> <B>getGWorld</B>()</PRE><DL><DD>QTCanvas calls this method to get the destination QDGraphics of its client.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#getGWorld()">getGWorld</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDGraphics object or null</DL></DD></DL><HR><A NAME="setGWorld(quicktime.qd.QDGraphics)"><!-- --></A><H3>setGWorld</H3><PRE>public void <B>setGWorld</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> cgp) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>QTCanvas calls this method to give the client the QDGraphics object it should use to do its drawing. If the incoming QDGraphics is the QDGraphics.scratch then the drawable will not be visible and can disable itself. If a client is unable to set the graphics world it should throw an exception. <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cgp</CODE> - a QDGraphics object</DL></DD></DL><HR><A NAME="setDisplayBounds(quicktime.qd.QDRect)"><!-- --></A><H3>setDisplayBounds</H3><PRE>public void <B>setDisplayBounds</B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> bounds) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>QTCanvas calls this method when it needs to tell the client to adjust its location, width and/or height. All values are in pixels. <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Drawable.html#setDisplayBounds(quicktime.qd.QDRect)">setDisplayBounds</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Drawable.html">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the new size and location.</DL></DD></DL><HR><A NAME="setLocation(int, int)"><!-- --></A><H3>setLocation</H3><PRE>public void <B>setLocation</B>(int x, int y) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>A convenience method to set the position of a QTDrawable object.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/QTDrawable.html#setLocation(int, int)">setLocation</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/QTDrawable.html">QTDrawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the new x location<DD><CODE>y</CODE> - the new y location</DL></DD></DL><HR><A NAME="getDisplayBounds()"><!-- --></A><H3>getDisplayBounds</H3><PRE>public <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> <B>getDisplayBounds</B>()</PRE><DL><DD>QTCanvas calls this method when it needs to ask the client for its boundary. All values are in pixels. <br><DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Drawable.html#getDisplayBounds()">getDisplayBounds</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Drawable.html">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the boundary of the client</DL></DD></DL><HR><A NAME="redraw(quicktime.qd.Region)"><!-- --></A><H3>redraw</H3><PRE>public void <B>redraw</B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> invalidRgn) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>QTCanvas calls this method when the client should redraw itself. If the canvas is able to discern that only a part of the client's drawing area needs to be redrawn - then this area shall be passed in using the invalidRgn. Otherwise this will be null in which case the client should redraw itself entirely.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/display/Drawable.html#redraw(quicktime.qd.Region)">redraw</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/display/Drawable.html">Drawable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>invalidRgn</CODE> - the invalidRgn that the client should redraw</DL></DD></DL><HR><A NAME="doDraw()"><!-- --></A><H3>doDraw</H3><PRE>protected final void <B>doDraw</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This is the method that blits the data directly to the destination QDGraphics.<DD><DL></DL></DD></DL><HR><A NAME="setGraphicsMode(quicktime.std.image.GraphicsMode)"><!-- --></A><H3>setGraphicsMode</H3><PRE>public void <B>setGraphicsMode</B>(<A HREF="../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A> mode) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This sets the GraphicsMode for the Compositor when it draws its composited contents to its destination QDGraphics (typically the QTCanvas).<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Compositable.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Compositable.html">Compositable</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>mode</CODE> - the new GraphicsMode for this presenter</DL></DD></DL><HR><A NAME="getGraphicsMode()"><!-- --></A><H3>getGraphicsMode</H3><PRE>public <A HREF="../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A> <B>getGraphicsMode</B>()</PRE><DL><DD>This gets the current GraphicsMode for the compositor.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../quicktime/app/image/Compositable.html#getGraphicsMode()">getGraphicsMode</A></CODE> in interface <CODE><A HREF="../../../quicktime/app/image/Compositable.html">Compositable</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a GraphicsMode</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a String representation of this object.<DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a String</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ImagePresenter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/app/image/ImageDrawer.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/image/ImageSequencer.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="ImagePresenter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -