<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_0) on Fri Oct 30 15:19:32 EDT 2009 --> <TITLE> Matrix (Cairo-Java 1.0.8 API Reference) </TITLE> <META NAME="date" CONTENT="2009-10-30"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Matrix (Cairo-Java 1.0.8 API Reference)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/freedesktop/cairo/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="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="../../../org/freedesktop/cairo/LineJoin.html" title="class in org.freedesktop.cairo"><B>PREV CLASS</B></A> <A HREF="../../../org/freedesktop/cairo/Operator.html" title="class in org.freedesktop.cairo"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/freedesktop/cairo/Matrix.html" target="_top"><B>FRAMES</B></A> <A HREF="Matrix.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | 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> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.freedesktop.cairo</FONT> <BR> Class Matrix</H2> <PRE> java.lang.Object <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">org.gnu.glib.Struct <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.freedesktop.cairo.Matrix</B> </PRE> <HR> <B>Deprecated.</B> <I>This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for <code>org.freedesktop.cairo.Matrix</code>. As this package was never correctly implemented in java-gnome 2.x, any new code written will likely have a considerably different public API.</I> <P> <DL> <DT><PRE>public class <B>Matrix</B><DT>extends org.gnu.glib.Struct</DL> </PRE> <P> TODO: error handling <P> <P> <HR> <P> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#Matrix()">Matrix</A></B>()</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#getX0()">getX0</A></B>()</CODE> <BR> <B>Deprecated.</B> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#getXX()">getXX</A></B>()</CODE> <BR> <B>Deprecated.</B> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#getXY()">getXY</A></B>()</CODE> <BR> <B>Deprecated.</B> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#getY0()">getY0</A></B>()</CODE> <BR> <B>Deprecated.</B> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#getYX()">getYX</A></B>()</CODE> <BR> <B>Deprecated.</B> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#getYY()">getYY</A></B>()</CODE> <BR> <B>Deprecated.</B> </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="../../../org/freedesktop/cairo/Matrix.html#init(double, double, double, double, double, double)">init</A></B>(double xx, double yx, double xy, double yy, double x0, double y0)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></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="../../../org/freedesktop/cairo/Matrix.html#initIdentity()">initIdentity</A></B>()</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></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="../../../org/freedesktop/cairo/Matrix.html#initRotate(double)">initRotate</A></B>(double radians)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></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="../../../org/freedesktop/cairo/Matrix.html#initScale(double, double)">initScale</A></B>(double sx, double sy)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></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="../../../org/freedesktop/cairo/Matrix.html#initTranslate(double, double)">initTranslate</A></B>(double tx, double ty)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></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="../../../org/freedesktop/cairo/Matrix.html#invert()">invert</A></B>()</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../org/freedesktop/cairo/Matrix.html" title="class in org.freedesktop.cairo">Matrix</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#multiply(org.freedesktop.cairo.Matrix, org.freedesktop.cairo.Matrix)">multiply</A></B>(<A HREF="../../../org/freedesktop/cairo/Matrix.html" title="class in org.freedesktop.cairo">Matrix</A> a, <A HREF="../../../org/freedesktop/cairo/Matrix.html" title="class in org.freedesktop.cairo">Matrix</A> b)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></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="../../../org/freedesktop/cairo/Matrix.html#rotate(double)">rotate</A></B>(double radians)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></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="../../../org/freedesktop/cairo/Matrix.html#scale(double, double)">scale</A></B>(double sx, double sy)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></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="../../../org/freedesktop/cairo/Matrix.html#setX0(double)">setX0</A></B>(double x0)</CODE> <BR> <B>Deprecated.</B> </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="../../../org/freedesktop/cairo/Matrix.html#setXX(double)">setXX</A></B>(double xx)</CODE> <BR> <B>Deprecated.</B> </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="../../../org/freedesktop/cairo/Matrix.html#setXY(double)">setXY</A></B>(double xy)</CODE> <BR> <B>Deprecated.</B> </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="../../../org/freedesktop/cairo/Matrix.html#setY0(double)">setY0</A></B>(double y0)</CODE> <BR> <B>Deprecated.</B> </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="../../../org/freedesktop/cairo/Matrix.html#setYX(double)">setYX</A></B>(double yx)</CODE> <BR> <B>Deprecated.</B> </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="../../../org/freedesktop/cairo/Matrix.html#setYY(double)">setYY</A></B>(double yy)</CODE> <BR> <B>Deprecated.</B> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../org/freedesktop/cairo/Point.html" title="class in org.freedesktop.cairo">Point</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#transformDistance(org.freedesktop.cairo.Point)">transformDistance</A></B>(<A HREF="../../../org/freedesktop/cairo/Point.html" title="class in org.freedesktop.cairo">Point</A> distance)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../org/freedesktop/cairo/Point.html" title="class in org.freedesktop.cairo">Point</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../org/freedesktop/cairo/Matrix.html#transformPoint(org.freedesktop.cairo.Point)">transformPoint</A></B>(<A HREF="../../../org/freedesktop/cairo/Point.html" title="class in org.freedesktop.cairo">Point</A> point)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></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="../../../org/freedesktop/cairo/Matrix.html#translate(double, double)">translate</A></B>(double tx, double ty)</CODE> <BR> <B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_org.gnu.glib.Struct"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class org.gnu.glib.Struct</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>equals, getHandle, getNullHandle, hashCode</CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="Matrix()"><!-- --></A><H3> Matrix</H3> <PRE> public <B>Matrix</B>()</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Creates a new matrix initialized with a noop transform. <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="init(double, double, double, double, double, double)"><!-- --></A><H3> init</H3> <PRE> public void <B>init</B>(double xx, double yx, double xy, double yy, double x0, double y0)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Sets the matrix to be the affine transformation given by xx, yx, xy, yy, x0, y0. The transformation is given by: <code> x_new = xx * x + xy * y + x0; y_new = yx * x + yy * y + y0; </code> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="initIdentity()"><!-- --></A><H3> initIdentity</H3> <PRE> public void <B>initIdentity</B>()</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Modifies the matrix to be an identity transformation. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="initTranslate(double, double)"><!-- --></A><H3> initTranslate</H3> <PRE> public void <B>initTranslate</B>(double tx, double ty)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Initializes the matrix to a transformation that translates by tx and ty in the X and Y dimensions, respectively. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>tx</CODE> - amount to translate in the X direction.<DD><CODE>ty</CODE> - amount to translate in the Y direction.</DL> </DD> </DL> <HR> <A NAME="initScale(double, double)"><!-- --></A><H3> initScale</H3> <PRE> public void <B>initScale</B>(double sx, double sy)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Initializes the matrix to a transformation that scales by sx and sy in the X and Y dimensions, respectively. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>sx</CODE> - scale factor in the X direction.<DD><CODE>sy</CODE> - scale factor in the Y direction.</DL> </DD> </DL> <HR> <A NAME="initRotate(double)"><!-- --></A><H3> initRotate</H3> <PRE> public void <B>initRotate</B>(double radians)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Initialized the matrix to a transformation that rotates by <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>radians</CODE> - angle of rotation, in radians. The direction of rotation is defined such that positive angles rotate in the direction from the positive X axis toward the positive Y axis. With the default axis orientation of cairo, positive angles rotate in a clockwise direction.</DL> </DD> </DL> <HR> <A NAME="translate(double, double)"><!-- --></A><H3> translate</H3> <PRE> public void <B>translate</B>(double tx, double ty)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Appends a transaltion transformation to this matrix. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>tx</CODE> - X axis translation<DD><CODE>ty</CODE> - Y axis translation</DL> </DD> </DL> <HR> <A NAME="scale(double, double)"><!-- --></A><H3> scale</H3> <PRE> public void <B>scale</B>(double sx, double sy)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Appends non-uniform scaling to this matrix. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>sx</CODE> - X axis scaling factor<DD><CODE>sy</CODE> - Y axis scaling factor</DL> </DD> </DL> <HR> <A NAME="rotate(double)"><!-- --></A><H3> rotate</H3> <PRE> public void <B>rotate</B>(double radians)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Appends rotation transformation to this matrix. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>radians</CODE> - The rotation angle in radians.</DL> </DD> </DL> <HR> <A NAME="invert()"><!-- --></A><H3> invert</H3> <PRE> public void <B>invert</B>()</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Inverts this matrix. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="multiply(org.freedesktop.cairo.Matrix, org.freedesktop.cairo.Matrix)"><!-- --></A><H3> multiply</H3> <PRE> public static <A HREF="../../../org/freedesktop/cairo/Matrix.html" title="class in org.freedesktop.cairo">Matrix</A> <B>multiply</B>(<A HREF="../../../org/freedesktop/cairo/Matrix.html" title="class in org.freedesktop.cairo">Matrix</A> a, <A HREF="../../../org/freedesktop/cairo/Matrix.html" title="class in org.freedesktop.cairo">Matrix</A> b)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Multiplies 2 matrices and returns the result. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>a</CODE> - first matrix<DD><CODE>b</CODE> - second matrix <DT><B>Returns:</B><DD>The product</DL> </DD> </DL> <HR> <A NAME="transformDistance(org.freedesktop.cairo.Point)"><!-- --></A><H3> transformDistance</H3> <PRE> public <A HREF="../../../org/freedesktop/cairo/Point.html" title="class in org.freedesktop.cairo">Point</A> <B>transformDistance</B>(<A HREF="../../../org/freedesktop/cairo/Point.html" title="class in org.freedesktop.cairo">Point</A> distance)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Transforms the given distance and returns transformed co-ordinates <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="transformPoint(org.freedesktop.cairo.Point)"><!-- --></A><H3> transformPoint</H3> <PRE> public <A HREF="../../../org/freedesktop/cairo/Point.html" title="class in org.freedesktop.cairo">Point</A> <B>transformPoint</B>(<A HREF="../../../org/freedesktop/cairo/Point.html" title="class in org.freedesktop.cairo">Point</A> point)</PRE> <DL> <DD><B>Deprecated.</B> <I>Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.</I> <P> <DD>Transforms the given point and returns transformed co-ordinates <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getXX()"><!-- --></A><H3> getXX</H3> <PRE> public double <B>getXX</B>()</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setXX(double)"><!-- --></A><H3> setXX</H3> <PRE> public void <B>setXX</B>(double xx)</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getYX()"><!-- --></A><H3> getYX</H3> <PRE> public double <B>getYX</B>()</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setYX(double)"><!-- --></A><H3> setYX</H3> <PRE> public void <B>setYX</B>(double yx)</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getXY()"><!-- --></A><H3> getXY</H3> <PRE> public double <B>getXY</B>()</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setXY(double)"><!-- --></A><H3> setXY</H3> <PRE> public void <B>setXY</B>(double xy)</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getYY()"><!-- --></A><H3> getYY</H3> <PRE> public double <B>getYY</B>()</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setYY(double)"><!-- --></A><H3> setYY</H3> <PRE> public void <B>setYY</B>(double yy)</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getX0()"><!-- --></A><H3> getX0</H3> <PRE> public double <B>getX0</B>()</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setX0(double)"><!-- --></A><H3> setX0</H3> <PRE> public void <B>setX0</B>(double x0)</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getY0()"><!-- --></A><H3> getY0</H3> <PRE> public double <B>getY0</B>()</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setY0(double)"><!-- --></A><H3> setY0</H3> <PRE> public void <B>setY0</B>(double y0)</PRE> <DL> <DD><B>Deprecated.</B> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../org/freedesktop/cairo/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="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="../../../org/freedesktop/cairo/LineJoin.html" title="class in org.freedesktop.cairo"><B>PREV CLASS</B></A> <A HREF="../../../org/freedesktop/cairo/Operator.html" title="class in org.freedesktop.cairo"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/freedesktop/cairo/Matrix.html" target="_top"><B>FRAMES</B></A> <A HREF="Matrix.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | 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> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>