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

📄 matrix.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;modifies the contents of a matrix so that it defines a scaling operation.</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/std/image/Matrix.html#setB(float)">setB</A></B>(float&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set b by specified amount.</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/std/image/Matrix.html#setC(float)">setC</A></B>(float&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set c by specified amount.</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/std/image/Matrix.html#setIdentity()">setIdentity</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the contents of a matrix so that it performs no transformation.</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/std/image/Matrix.html#setSx(float)">setSx</A></B>(float&nbsp;sx)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the X axis Scale by specified amount.</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/std/image/Matrix.html#setSy(float)">setSy</A></B>(float&nbsp;sy)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the Y axis Scale by specified amount.</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/std/image/Matrix.html#setTx(float)">setTx</A></B>(float&nbsp;tx)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the X axis translation by specified amount.</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/std/image/Matrix.html#setTy(float)">setTy</A></B>(float&nbsp;ty)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the Y axis translation by specified amount.</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/std/image/Matrix.html#setU(float)">setU</A></B>(float&nbsp;u)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set u by specified amount.</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/std/image/Matrix.html#setV(float)">setV</A></B>(float&nbsp;v)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set v by specified amount.</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/std/image/Matrix.html#setW(float)">setW</A></B>(float&nbsp;w)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set w by specified amount.</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/std/image/Matrix.html#skew(float, float, float, float)">skew</A></B>(float&nbsp;skewX,     float&nbsp;skewY,     float&nbsp;aboutX,     float&nbsp;aboutY)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;modifies the contents of a matrix so that it defines a skew transformation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/Matrix.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints the matrix.</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/std/image/Matrix.html#transformDPoints(quicktime.qd.QDPoint)">transformDPoints</A></B>(<A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>&nbsp;dpt)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transforms a set of fixed points through a specified matrix.</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/std/image/Matrix.html#transformDPoints(quicktime.qd.QDPoint[])">transformDPoints</A></B>(<A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>[]&nbsp;dpts)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transforms a set of fixed points through a specified matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/Matrix.html#transformDRect(quicktime.qd.QDRect)">transformDRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;transforms the upper left and lower right points of a rectangle through a specified matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/Matrix.html#transformDRect(quicktime.qd.QDRect, quicktime.qd.QDPoint[])">transformDRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r,               <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>[]&nbsp;points)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;transforms the upper left and lower right points of a rectangle through a specified matrix.</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/std/image/Matrix.html#transformPoints(quicktime.qd.QDPoint)">transformPoints</A></B>(<A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>&nbsp;pt)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;transforms a set of QuickDraw points through a specified matrix.</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/std/image/Matrix.html#transformPoints(quicktime.qd.QDPoint[])">transformPoints</A></B>(<A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>[]&nbsp;pts)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;transforms a set of QuickDraw points through a specified matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/Matrix.html#transformRect(quicktime.qd.QDRect)">transformRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;transforms the upper left and lower right points of a rectangle through a specified matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/Matrix.html#transformRect(quicktime.qd.QDRect, quicktime.qd.QDPoint[])">transformRect</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;r,              <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>[]&nbsp;points)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;transforms the upper left and lower right points of a rectangle through a specified matrix.</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/std/image/Matrix.html#transformRgn(quicktime.qd.Region)">transformRgn</A></B>(<A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;r)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;applies a specified matrix to a region.</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/std/image/Matrix.html#translate(float, float)">translate</A></B>(float&nbsp;deltaH,          float&nbsp;deltaV)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add a translation value to a specified matrix.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.util.QTByteObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.util.<A HREF="../../../quicktime/util/QTByteObject.html">QTByteObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/util/QTByteObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/util/QTByteObject.html#fromArray(byte[])">fromArray</A>, <A HREF="../../../quicktime/util/QTByteObject.html#getBytes()">getBytes</A>, <A HREF="../../../quicktime/util/QTByteObject.html#getSize()">getSize</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="kNativeSize"><!-- --></A><H3>kNativeSize</H3><PRE>public static final int <B>kNativeSize</B></PRE><DL><DD>This is the size (the number of bytes) that are required for this class</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Matrix()"><!-- --></A><H3>Matrix</H3><PRE>public <B>Matrix</B>()</PRE><DL><DD>Construct an instance of a Matrix, with default settings of the identity Matrix</DL><HR><A NAME="Matrix(float[][])"><!-- --></A><H3>Matrix</H3><PRE>public <B>Matrix</B>(float[][]&nbsp;table)</PRE><DL><DD>Construct an instance of a Matrix from the values of a float[][], which is a 3x3 table, - an array of row values.<DD><DL><DT><B>Parameters:</B><DD><CODE>table</CODE> - a 3x3 table of float values.</DL></DD></DL><HR><A NAME="Matrix(quicktime.qd.QDPoint[], quicktime.qd.QDPoint[])"><!-- --></A><H3>Matrix</H3><PRE>public <B>Matrix</B>(<A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>[]&nbsp;source,              <A HREF="../../../quicktime/qd/QDPoint.html">QDPoint</A>[]&nbsp;dest)       throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Construct a Matrix that is a delta matrix between the two sets of 4 points. This call is available only in QuickTime 4 or later. The resulting matrix can be concatenated  with the matrix from which the source points are derived to transform the display object to the destination area. <BR><BR><b>QuickTime::QuadToQuadMatrix</b><BR><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - a set of 4 points t,l t,r b,r and b,l that describes the source area<DD><CODE>dest</CODE> - a set of 4 points t,l t,r b,r and b,l that describes the destination area</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setTx(float)"><!-- --></A><H3>setTx</H3><PRE>public void <B>setTx</B>(float&nbsp;tx)</PRE><DL><DD>Set the X axis translation by specified amount.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tx</CODE> - amount to set x-axis translation</DL></DD></DL><HR><A NAME="getTx()"><!-- --></A><H3>getTx</H3><PRE>public float <B>getTx</B>()</PRE><DL><DD>Gets the X axis translation amount.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>x-axis translation</DL></DD></DL><HR><A NAME="setTy(float)"><!-- --></A><H3>setTy</H3><PRE>public void <B>setTy</B>(float&nbsp;ty)</PRE><DL><DD>Set the Y axis translation by specified amount.<DD><DL></DL></DD><DD><DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -