Package quicktime.std.image

Examples of quicktime.std.image.Matrix.translate()


        c = (width1 - width2) / 2;
      } // else if ((height2 >= height1) && (width1 >= width2))

      // modify matrices based on changes made in the if-clause above
      matrix1.translate(a, b);
      matrix2.translate(c, d);

      // set tracks to changed matrices
      track1.setMatrix(matrix1);
      track2.setMatrix(matrix2);
View Full Code Here


/* 258 */       arrayOfQDPoint[0] = new QDPoint(paramMouseEvent.getX(), paramMouseEvent.getY());
/* 259 */       this.invSpaceMatrix.transformPoints(arrayOfQDPoint);
/* 260 */       int j = arrayOfQDPoint[0].getX() - this.origPt[0].getX();
/* 261 */       int k = arrayOfQDPoint[0].getY() - this.origPt[0].getY();
/* 262 */       Matrix localMatrix = this.origTargetMatrix.copy();
/* 263 */       localMatrix.translate(j, k);
/*     */
/* 265 */       QDDimension localQDDimension = this.target.getOriginalSize();
/* 266 */       int m = localQDDimension.getWidth();
/* 267 */       int n = localQDDimension.getHeight();
/* 268 */       float f1 = localMatrix.getTx();
View Full Code Here

/*     */
/*  95 */     if (localMatrix1 != null) {
/*  96 */       Matrix localMatrix2 = new Matrix();
/*  97 */       QDDimension localQDDimension = getOriginalSize();
/*  98 */       localMatrix2.map(new QDRect(localQDDimension), new QDRect(paramQDDimension));
/*  99 */       localMatrix2.translate(f1, f2);
/* 100 */       setMatrix(localMatrix2);
/*     */     }
/*     */   }
/*     */
/*     */   /** @deprecated */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.