📄 swcompositor.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/app/image/Compositable.html">Compositable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getCompositable(java.lang.Object)">getCompositable</A></B>(java.lang.Object member)</CODE><BR> This will return the TwoDSprite for the member as a Compositable object to enable an application to get and set the graphics mode presentation of the member object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getDescription()">getDescription</A></B>()</CODE><BR> This method should return an ImageDescription that describes the image data that the class contains.</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><A HREF="../../../quicktime/app/anim/SWCompositor.html#getDisplayBounds()">getDisplayBounds</A></B>()</CODE><BR> QTCanvas calls this method when it needs to get the client's location, width and/or height.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getGraphicsMode()">getGraphicsMode</A></B>()</CODE><BR> Sets the graphics mode of the SpriteDisplay object - this will be restored on each subsequent creation of the internal SpriteWorld.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getGWorld()">getGWorld</A></B>()</CODE><BR> QTCanvas calls this method to get the destination QDGraphics of its client.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getImage()">getImage</A></B>()</CODE><BR> This method returns the actual image data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Dimension</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getInitialSize()">getInitialSize</A></B>()</CODE><BR> <B>Deprecated.</B> <I>since QTJava 4.0</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Enumeration</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getInvalidatorList()">getInvalidatorList</A></B>()</CODE><BR> Returns the list of invalidator objects for the Compositor's sprites that have a dynamic image source.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/app/display/Layerable.html">Layerable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getLayerable(java.lang.Object)">getLayerable</A></B>(java.lang.Object member)</CODE><BR> This will return the TwoDSprite for the member as a Layerable object to enable an application to get and set the layer presentation of the member object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getMatrix()">getMatrix</A></B>()</CODE><BR> This will return the client's current display transformations <br></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/app/actions/Invalidator.html">Invalidator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getMemberInvalidator(java.lang.Object)">getMemberInvalidator</A></B>(java.lang.Object member)</CODE><BR> Returns the invalidator that is associated with the supplied member if the member has an Invalidator.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../quicktime/app/anim/TwoDSprite.html">TwoDSprite</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getMemberSprite(java.lang.Object)">getMemberSprite</A></B>(java.lang.Object member)</CODE><BR> This method returns the TwoDSprite presenter that is presenting the image data of the given member.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDDimension.html">QDDimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getOriginalSize()">getOriginalSize</A></B>()</CODE><BR> This method returns the original size before the transformations specified in the returned matrix are applied.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/app/anim/SWCompositor.html">SWCompositor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getParent()">getParent</A></B>()</CODE><BR> Returns the SWCompositor that this is the parent container of this SWCompositor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getSpriteMember(quicktime.app.anim.TwoDSprite)">getSpriteMember</A></B>(<A HREF="../../../quicktime/app/anim/TwoDSprite.html">TwoDSprite</A> sprite)</CODE><BR> This method returns the member that is being presented by the supplied TwoDSprite presenter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getStatistics()">getStatistics</A></B>()</CODE><BR> The compositor's frame rate is calculated by the number of times it is tickled from the time an application calls resetStatistics and is only valid if the rate of the Compositor's Timer is not zero.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#getTransformable(java.lang.Object)">getTransformable</A></B>(java.lang.Object member)</CODE><BR> This will return the TwoDSprite for the member as a Transformable object to enable an application to get and set the display presentation (its location, scale, etc) of the member object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#hasRecordMovie()">hasRecordMovie</A></B>()</CODE><BR> Returns true if the SWCompositor has a RecordMovie object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#hitTest(int, int)">hitTest</A></B>(int x, int y)</CODE><BR> Return the frontmost object that is located at the specified coordinates.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#idle()">idle</A></B>()</CODE><BR> This method can be called to explicitly force the SWCompositor to redraw itself.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#isAutoRedrawing()">isAutoRedrawing</A></B>()</CODE><BR> Returns the current state of the auto redrawing flag.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#postProcessAdd(java.lang.Object, quicktime.app.anim.TwoDSprite)">postProcessAdd</A></B>(java.lang.Object member, <A HREF="../../../quicktime/app/anim/TwoDSprite.html">TwoDSprite</A> s)</CODE><BR> This method should be called by the subclass after the member has been added to the SWCompositor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#postProcessRemove(java.lang.Object, quicktime.app.anim.TwoDSprite)">postProcessRemove</A></B>(java.lang.Object member, <A HREF="../../../quicktime/app/anim/TwoDSprite.html">TwoDSprite</A> s)</CODE><BR> This method should be called by the subclass before the member has been removed from the SWCompositor.</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/app/anim/SWCompositor.html#redraw(quicktime.qd.Region)">redraw</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A> invalidRgn)</CODE><BR> QTCanvas calls this method when the client should redraw itself.</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/app/anim/SWCompositor.html#removedFromCompositor(quicktime.app.anim.SWCompositor)">removedFromCompositor</A></B>(<A HREF="../../../quicktime/app/anim/SWCompositor.html">SWCompositor</A> c)</CODE><BR> When a dynamic image class is removed from a SWCompositor this method is called to allow the class to cleanup any of the invalidation processes it had established in the addedToCompositor call.</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/app/anim/SWCompositor.html#removeDrawingListener(quicktime.app.display.DrawingListener)">removeDrawingListener</A></B>(<A HREF="../../../quicktime/app/display/DrawingListener.html">DrawingListener</A> listener)</CODE><BR> Removes an object that is a listener of the Compositor.</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/app/anim/SWCompositor.html#resetStatistics()">resetStatistics</A></B>()</CODE><BR> Resets the internal counters that are used to calculate the frame rate of the Compositor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/anim/SWCompositor.html#saveMembers()">saveMembers</A></B>()</CODE><BR> This method is called if a SpriteWorld has previously been created and the destination
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -