Package quicktime.std.image

Examples of quicktime.std.image.Matrix


/*     */
/*     */   /** @deprecated */
/*     */   public QDRect getBounds()
/*     */     throws QTException
/*     */   {
/* 109 */     Matrix localMatrix = getMatrix();
/* 110 */     QDDimension localQDDimension = getOriginalSize();
/* 111 */     return new QDRect((int)localMatrix.getTx(), (int)localMatrix.getTy(), (int)(localMatrix.getSx() * localQDDimension.getWidth()), (int)(localMatrix.getSy() * localQDDimension.getHeight()));
/*     */   }
View Full Code Here


/*     */
/*     */   /** @deprecated */
/*     */   public TwoDSprite()
/*     */     throws QTException
/*     */   {
/*  96 */     this(new Matrix(), 1, null);
/*     */   }
View Full Code Here

/*     */   private boolean outOfBounds;
/*     */   private MouseTargetListener mouseTargetListener;
/*     */
/*     */   /** @deprecated */
/*     */   protected QTButton(ImageSpec paramImageSpec1, ImageSpec paramImageSpec2, ImageSpec paramImageSpec3, ImageSpec paramImageSpec4) throws QTException {
/*  59 */     this(paramImageSpec1, paramImageSpec2, paramImageSpec3, paramImageSpec4, new Matrix(), 1, null);
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   public Dimension getInitialSize()
/*     */     throws QTException
/*     */   {
/* 125 */     QDRect localQDRect = this.chan.getBounds();
/* 126 */     Matrix localMatrix = this.chan.getMatrix();
/* 127 */     return new Dimension((int)(localQDRect.getWidth() / localMatrix.getSx()), (int)(localQDRect.getHeight() / localMatrix.getSy()));
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   public QDDimension getOriginalSize()
/*     */     throws QTException
/*     */   {
/* 137 */     QDRect localQDRect = this.chan.getBounds();
/* 138 */     Matrix localMatrix = this.chan.getMatrix();
/* 139 */     return new QDDimension(localQDRect.getWidth() / localMatrix.getSx(), localQDRect.getHeight() / localMatrix.getSy());
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   public Dimension getInitialSize()
/*     */     throws QTException
/*     */   {
/* 111 */     QDDimension localQDDimension = this.pres.getDimensions(null);
/* 112 */     Matrix localMatrix = this.pres.getMatrix(null);
/* 113 */     return new Dimension((int)(localQDDimension.getWidth() / localMatrix.getSx()), (int)(localQDDimension.getHeight() / localMatrix.getSy()));
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   public QDDimension getOriginalSize()
/*     */     throws QTException
/*     */   {
/* 123 */     QDDimension localQDDimension = this.pres.getDimensions(null);
/* 124 */     Matrix localMatrix = this.pres.getMatrix(null);
/* 125 */     return new QDDimension(localQDDimension.getWidth() / localMatrix.getSx(), localQDDimension.getHeight() / localMatrix.getSy());
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public Matrix getMatrix()
/*     */     throws StdQTException
/*     */   {
/* 487 */     Matrix localMatrix = new Matrix();
/* 488 */     localMatrix.setTx(this.displayBounds.getX());
/* 489 */     localMatrix.setTy(this.displayBounds.getY());
/*     */
/* 492 */     return localMatrix;
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void setDisplayBounds(QDRect paramQDRect)
/*     */     throws StdQTException
/*     */   {
/* 501 */     Matrix localMatrix = new Matrix();
/*     */
/* 503 */     localMatrix.setTx(paramQDRect.getX());
/* 504 */     localMatrix.setTy(paramQDRect.getY());
/* 505 */     localMatrix.setSx(paramQDRect.getWidth() / this.origWidth);
/* 506 */     localMatrix.setSy(paramQDRect.getHeight() / this.origHeight);
/*     */
/* 508 */     if (this.mImageSeq != null) this.mImageSeq.setMatrix(localMatrix);
/* 509 */     this.mat = localMatrix;
/* 510 */     this.mDisplayBounds = paramQDRect;
/*     */   }
View Full Code Here

/*     */
/* 123 */     this.effectDesc.setFrameCount(1);
/*     */
/* 125 */     this.effectDesc.setClutID(-1);
/*     */
/* 127 */     this.mat = new Matrix();
/* 128 */     if ((paramQDDimension != null) &&
/* 129 */       (paramQDDimension.getWidth() != 0) && (paramQDDimension.getHeight() != 0)) {
/* 130 */       setDisplayBounds(new QDRect(paramQDDimension));
/*     */     }
/* 132 */     this.initSize = paramQDDimension;
View Full Code Here

TOP

Related Classes of quicktime.std.image.Matrix

Copyright © 2018 www.massapicom. 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.