[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java
From: |
Matti Katila |
Subject: |
[Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java |
Date: |
Mon, 28 Apr 2003 07:13:42 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Changes by: Matti Katila <address@hidden> 03/04/28 07:13:42
Modified files:
org/nongnu/libvob/impl: OrthoCoorder.java
Log message:
stupid version of concat added
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/org/nongnu/libvob/impl/OrthoCoorder.java.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
Patches:
Index: libvob/org/nongnu/libvob/impl/OrthoCoorder.java
diff -u libvob/org/nongnu/libvob/impl/OrthoCoorder.java:1.13
libvob/org/nongnu/libvob/impl/OrthoCoorder.java:1.14
--- libvob/org/nongnu/libvob/impl/OrthoCoorder.java:1.13 Wed Apr 23
12:50:51 2003
+++ libvob/org/nongnu/libvob/impl/OrthoCoorder.java Mon Apr 28 07:13:42 2003
@@ -35,7 +35,7 @@
*/
public class OrthoCoorder extends VobCoorder {
-public static final String rcsid = "$Id: OrthoCoorder.java,v 1.13 2003/04/23
16:50:51 tjl Exp $";
+public static final String rcsid = "$Id: OrthoCoorder.java,v 1.14 2003/04/28
11:13:42 mudyc Exp $";
public static boolean dbg = false;
private static void pa(String s) { System.out.println("OrthoCoorder::"+s);
}
@@ -185,7 +185,23 @@
1,1, boxSize,boxSize );
}
return cs;
- }
+ }
+
+ /** This operation is a transformation h,
+ * for which h(x) = f(g(x)) always.
+ */
+ public int concat(int f, int g) {
+ rect[0] = 0;
+ rect[1] = 0;
+ rect[2] = sys.w[g];
+ rect[3] = sys.h[g];
+
+ sys.transformRect(g, rect);
+ if (dbg) for (int i=0; i<rect.length; i++) pa("g: "+i + ": "+ rect[i]);
+ return ortho(f, f,
+ rect[0], rect[1],
+ rect[2], rect[3]);
+ }
public void setOrthoBoxParams(int cs, float depth, float x, float y, float
sx, float sy, float w, float h) {
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java, Matti Katila, 2003/04/05
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java, Matti Katila, 2003/04/05
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java, Matti Katila, 2003/04/07
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java, Janne V. Kujala, 2003/04/07
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java, Matti Katila, 2003/04/07
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java, Matti Katila, 2003/04/07
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java, Matti Katila, 2003/04/08
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java, Tuomas J. Lukka, 2003/04/23
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java, Tuomas J. Lukka, 2003/04/23
- [Gzz-commits] libvob/org/nongnu/libvob/impl OrthoCoorder.java,
Matti Katila <=