49 |
public class Box { |
public class Box { |
50 |
/** The key used to put the unitcoordsys under whcoordsys. |
/** The key used to put the unitcoordsys under whcoordsys. |
51 |
*/ |
*/ |
52 |
static Object uckey = new Object(); |
static public final Object UNITCOORDSYSKEY = new Object(); |
53 |
|
|
54 |
|
|
55 |
VobScene vs; |
VobScene vs; |
75 |
/** Create the unit square coordsys. |
/** Create the unit square coordsys. |
76 |
*/ |
*/ |
77 |
private void createUnitCoordsys() { |
private void createUnitCoordsys() { |
78 |
unitcoordsys = vs.orthoCS(whcoordsys, uckey, 0, 0, 0, w, h); |
unitcoordsys = vs.orthoCS(whcoordsys, UNITCOORDSYSKEY, 0, 0, 0, w, h); |
79 |
} |
} |
80 |
|
|
81 |
/** Return the width of the box in the standardized coordinate |
/** Return the width of the box in the standardized coordinate |