Lines Matching defs:Tx

485      * @param Tx the <code>AffineTransform</code> object to copy
488 public AffineTransform(AffineTransform Tx) {
489 this.m00 = Tx.m00;
490 this.m10 = Tx.m10;
491 this.m01 = Tx.m01;
492 this.m11 = Tx.m11;
493 this.m02 = Tx.m02;
494 this.m12 = Tx.m12;
495 this.state = Tx.state;
496 this.type = Tx.type;
617 AffineTransform Tx = new AffineTransform();
618 Tx.setToTranslation(tx, ty);
619 return Tx;
641 AffineTransform Tx = new AffineTransform();
642 Tx.setToRotation(theta);
643 return Tx;
656 * AffineTransform Tx = new AffineTransform();
657 * Tx.translate(anchorx, anchory); // S3: final translation
658 * Tx.rotate(theta); // S2: rotate around anchor
659 * Tx.translate(-anchorx, -anchory); // S1: translate anchor to origin
685 AffineTransform Tx = new AffineTransform();
686 Tx.setToRotation(theta, anchorx, anchory);
687 return Tx;
711 AffineTransform Tx = new AffineTransform();
712 Tx.setToRotation(vecx, vecy);
713 return Tx;
746 AffineTransform Tx = new AffineTransform();
747 Tx.setToRotation(vecx, vecy, anchorx, anchory);
748 return Tx;
766 AffineTransform Tx = new AffineTransform();
767 Tx.setToQuadrantRotation(numquadrants);
768 return Tx;
794 AffineTransform Tx = new AffineTransform();
795 Tx.setToQuadrantRotation(numquadrants, anchorx, anchory);
796 return Tx;
816 AffineTransform Tx = new AffineTransform();
817 Tx.setToScale(sx, sy);
818 return Tx;
838 AffineTransform Tx = new AffineTransform();
839 Tx.setToShear(shx, shy);
840 return Tx;
2167 * @param Tx the <code>AffineTransform</code> object from which to
2171 public void setTransform(AffineTransform Tx) {
2172 this.m00 = Tx.m00;
2173 this.m10 = Tx.m10;
2174 this.m01 = Tx.m01;
2175 this.m11 = Tx.m11;
2176 this.m02 = Tx.m02;
2177 this.m12 = Tx.m12;
2178 this.state = Tx.state;
2179 this.type = Tx.type;
2207 * Concatenates an <code>AffineTransform</code> <code>Tx</code> to
2210 * that is mapped to the former user space by <code>Tx</code>.
2213 * equivalent to first transforming p by <code>Tx</code> and then
2215 * Cx'(p) = Cx(Tx(p))
2217 * represented by the matrix [this] and <code>Tx</code> is represented
2218 * by the matrix [Tx] then this method does the following:
2220 * [this] = [this] x [Tx]
2222 * @param Tx the <code>AffineTransform</code> object to be
2227 public void concatenate(AffineTransform Tx) {
2232 int txstate = Tx.state;
2235 /* ---------- Tx == IDENTITY cases ---------- */
2248 m01 = Tx.m01;
2249 m10 = Tx.m10;
2252 m00 = Tx.m00;
2253 m11 = Tx.m11;
2256 m02 = Tx.m02;
2257 m12 = Tx.m12;
2259 type = Tx.type;
2262 m01 = Tx.m01;
2263 m10 = Tx.m10;
2266 m00 = Tx.m00;
2267 m11 = Tx.m11;
2269 type = Tx.type;
2272 m02 = Tx.m02;
2273 m12 = Tx.m12;
2276 m01 = Tx.m01;
2277 m10 = Tx.m10;
2280 type = Tx.type;
2283 /* ---------- Tx == TRANSLATE cases ---------- */
2291 translate(Tx.m02, Tx.m12);
2294 /* ---------- Tx == SCALE cases ---------- */
2302 scale(Tx.m00, Tx.m11);
2305 /* ---------- Tx == SHEAR cases ---------- */
2308 T01 = Tx.m01; T10 = Tx.m10;
2319 m00 = m01 * Tx.m10;
2321 m11 = m10 * Tx.m01;
2328 m01 = m00 * Tx.m01;
2330 m10 = m11 * Tx.m10;
2337 m01 = Tx.m01;
2338 m10 = Tx.m10;
2344 // If Tx has more than one attribute, it is not worth optimizing
2346 T00 = Tx.m00; T01 = Tx.m01; T02 = Tx.m02;
2347 T10 = Tx.m10; T11 = Tx.m11; T12 = Tx.m12;
2412 * Concatenates an <code>AffineTransform</code> <code>Tx</code> to
2414 * in a less commonly used way such that <code>Tx</code> modifies the
2421 * <code>Tx</code> like this:
2422 * Cx'(p) = Tx(Cx(p))
2424 * is represented by the matrix [this] and <code>Tx</code> is
2425 * represented by the matrix [Tx] then this method does the
2428 * [this] = [Tx] x [this]
2430 * @param Tx the <code>AffineTransform</code> object to be
2435 public void preConcatenate(AffineTransform Tx) {
2440 int txstate = Tx.state;
2450 // Tx is IDENTITY...
2457 // Tx is TRANSLATE, this has no TRANSLATE
2458 m02 = Tx.m02;
2459 m12 = Tx.m12;
2468 // Tx is TRANSLATE, this has one too
2469 m02 = m02 + Tx.m02;
2470 m12 = m12 + Tx.m12;
2484 // Tx is SCALE, this is anything
2485 T00 = Tx.m00;
2486 T11 = Tx.m11;
2516 // Tx is SHEAR, this is anything
2517 T01 = Tx.m01;
2518 T10 = Tx.m10;
2534 // If Tx has more than one attribute, it is not worth optimizing
2536 T00 = Tx.m00; T01 = Tx.m01; T02 = Tx.m02;
2537 T10 = Tx.m10; T11 = Tx.m11; T12 = Tx.m12;
2631 * The inverse transform Tx' of this transform Tx
2632 * maps coordinates transformed by Tx back
2634 * In other words, Tx'(Tx(p)) = p = Tx(Tx'(p)).
2727 * The inverse transform Tx' of this transform Tx
2728 * maps coordinates transformed by Tx back
2730 * In other words, Tx'(Tx(p)) = p = Tx(Tx'(p)).