Package quicktime.std.image

Examples of quicktime.std.image.Matrix


/*      */   }
/*      */
/*      */   public Matrix getDisplayMatrix()
/*      */     throws StdQTException
/*      */   {
/*  609 */     Matrix localMatrix = new Matrix();
/*  610 */     int i = GetTrackDisplayMatrix(_ID(), localMatrix.getBytes());
/*  611 */     StdQTException.checkError(i);
/*      */
/*  613 */     return localMatrix;
/*      */   }
View Full Code Here


/*     */   }
/*     */
/*     */   public Matrix getMatrix(int paramInt)
/*     */     throws StdQTException
/*     */   {
/* 110 */     Matrix localMatrix = new Matrix();
/* 111 */     int i = SpriteMediaGetSpriteProperty(_ID(), paramInt, 1, localMatrix.getBytes());
/*     */
/* 115 */     StdQTException.checkError(i);
/* 116 */     return localMatrix;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public Matrix getCurrentMoviePropertyMatrix()
/*     */     throws StdQTException
/*     */   {
/*  84 */     Matrix localMatrix = new Matrix();
/*  85 */     int i = MovieMediaGetCurrentMovieProperty(_ID(), 1836348024, localMatrix.getBytes());
/*  86 */     StdQTException.checkError(i);
/*  87 */     return localMatrix;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public Matrix getMatrix(Stream paramStream)
/*     */     throws QTException
/*     */   {
/* 664 */     Matrix localMatrix = new Matrix();
/* 665 */     QTException.checkError(QTSPresSetMatrix(_ID(), QTObject.ID(paramStream), localMatrix.getBytes()));
/*     */
/* 667 */     return localMatrix;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public final void setBounds(QDRect paramQDRect)
/*     */     throws StdQTException
/*     */   {
/*  84 */     Matrix localMatrix = new Matrix();
/*  85 */     localMatrix.setTx(paramQDRect.getX());
/*  86 */     localMatrix.setTy(paramQDRect.getY());
/*  87 */     localMatrix.setSx(paramQDRect.getWidth() / this.mWidth);
/*  88 */     localMatrix.setSy(paramQDRect.getHeight() / this.mHeight);
/*  89 */     setMatrix(localMatrix);
/*     */   }
View Full Code Here

/*     */
/*     */   public final void setMatrix(Matrix paramMatrix)
/*     */     throws StdQTException
/*     */   {
/* 146 */     synchronized (QTNative.globalsLock) {
/* 147 */       this.mMatrix = (paramMatrix == null ? new Matrix() : paramMatrix);
/* 148 */       StdQTException.checkError(SetSpriteWorldMatrix(_ID(), this.mMatrix.getBytes()));
/*     */     }
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public Matrix getMatrix()
/*     */     throws StdQTException
/*     */   {
/* 133 */     Matrix localMatrix = new Matrix();
/* 134 */     synchronized (QTNative.globalsLock) {
/* 135 */       int i = GetSpriteProperty(_ID(), 1, localMatrix.getBytes());
/*     */
/* 138 */       StdQTException.checkError(i);
/*     */     }
/* 140 */     return localMatrix;
/*     */   }
View Full Code Here

/*     */     throws QTException
/*     */   {
/* 205 */     this.target = paramTransformable;
/*     */
/* 207 */     QDRect localQDRect = paramQTDisplaySpace.getDisplayBounds();
/* 208 */     Matrix localMatrix1 = paramQTDisplaySpace.getMatrix();
/*     */
/* 210 */     this.invSpaceMatrix = new Matrix();
/* 211 */     Matrix localMatrix2 = localMatrix1.copy();
/* 212 */     localMatrix2.setTx(0.0F);
/* 213 */     localMatrix2.setTy(0.0F);
/* 214 */     localMatrix2.inverse(this.invSpaceMatrix);
/*     */
/* 216 */     this.origPt = new QDPoint[1];
/* 217 */     this.origPt[0] = new QDPoint(0, 0);
/*     */
/* 219 */     this.origTargetMatrix = this.target.getMatrix();
View Full Code Here

/*     */     throws QTException
/*     */   {
/* 239 */     this.target = paramTransformable;
/*     */
/* 241 */     QDRect localQDRect = paramQTDisplaySpace.getDisplayBounds();
/* 242 */     Matrix localMatrix1 = paramQTDisplaySpace.getMatrix();
/*     */
/* 244 */     this.invSpaceMatrix = new Matrix();
/* 245 */     Matrix localMatrix2 = localMatrix1.copy();
/* 246 */     localMatrix2.setTx(0.0F);
/* 247 */     localMatrix2.setTy(0.0F);
/* 248 */     localMatrix2.inverse(this.invSpaceMatrix);
/*     */
/* 250 */     this.origPt = new QDPoint[1];
/* 251 */     this.origPt[0] = new QDPoint(paramInt1, paramInt2);
/*     */
/* 253 */     this.invSpaceMatrix.transformPoints(this.origPt);
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void setDisplayBounds(QDRect paramQDRect)
/*     */     throws StdQTException
/*     */   {
/* 246 */     Matrix localMatrix = new Matrix();
/* 247 */     localMatrix.setTx(paramQDRect.getX());
/* 248 */     localMatrix.setTy(paramQDRect.getY());
/* 249 */     localMatrix.setSx(paramQDRect.getWidth() / this.mDesc.getWidth());
/* 250 */     localMatrix.setSy(paramQDRect.getHeight() / this.mDesc.getHeight());
/* 251 */     this.mWidth = paramQDRect.getWidth();
/* 252 */     this.mHeight = paramQDRect.getHeight();
/*     */
/* 254 */     if (this.seq != null) this.seq.setMatrix(localMatrix);
/* 255 */     this.bnds = paramQDRect;
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.