Package quicktime.qd

Examples of quicktime.qd.QDRect


/* 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


/*     */
/*     */   /** @deprecated */
/*     */   protected synchronized boolean setUpSequence()
/*     */     throws QTException
/*     */   {
/* 267 */     QDRect localQDRect = getDisplayBounds();
/* 268 */     if ((QDGraphics.scratch.equals(getGWorld())) || (this.effectSamplePtr == null) || (localQDRect == null)) {
/* 269 */       return false;
/*     */     }
/* 271 */     this.mat.setTx(localQDRect.getX());
/* 272 */     this.mat.setTy(localQDRect.getY());
/* 273 */     this.effectSequence = new DSequence(this.effectDesc, this.effectSamplePtr, getGWorld(), null, this.mat, getClip(), 0, 512, null);
/*     */
/* 284 */     if (this.gMode != null) this.effectSequence.setGraphicsMode(this.gMode);
/*     */
/* 287 */     this.tb = new TimeBase();
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 389 */     QDRect localQDRect = getDisplayBounds();
/* 390 */     localQDRect.setX(paramInt1);
/* 391 */     localQDRect.setY(paramInt2);
/* 392 */     setDisplayBounds(localQDRect);
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public QDRect getDisplayBounds()
/*     */     throws QTException
/*     */   {
/* 403 */     return this.mDisplayBounds == null ? new QDRect(this.initSize.getWidth(), this.initSize.getHeight()) : this.mDisplayBounds;
/*     */   }
View Full Code Here

/*     */
/* 566 */     if (this.canvas.movie != null)
/*     */     {
/* 568 */       if (this.canvas.movieController != null) {
/* 569 */         if ((this.canvas.movieController.getVisible()) && (this.canvas.isVisible()))
/* 570 */           this.canvas.movieController.setBounds(new QDRect(localPoint.x, localPoint.y, this.canvas.currentWidth, this.canvas.currentHeight));
/*     */       }
/* 572 */       else this.canvas.movie.setBounds(new QDRect(localPoint.x, localPoint.y, this.canvas.currentWidth, this.canvas.currentHeight));
/*     */     }
/* 573 */     else if (this.canvas.graphicsImporter != null) {
/* 574 */       this.canvas.graphicsImporter.setBoundsRect(new QDRect(localPoint.x, localPoint.y, this.canvas.currentWidth, this.canvas.currentHeight));
/* 575 */     } else if (this.canvas.channel != null) {
/* 576 */       ((SGVideoChannel)this.canvas.channel).setBounds(new QDRect(localPoint.x, localPoint.y, this.canvas.currentWidth, this.canvas.currentHeight));
/* 577 */       if (!QDGraphics.scratch.equals(getGWorld())) {
/* 578 */         this.deferTasking = false;
/* 579 */         startTasking();
/*     */       }
/*     */     }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public Dimension getInitialSize()
/*     */     throws QTException
/*     */   {
/* 173 */     QDRect localQDRect = this.mGraphicsImporter.getNaturalBounds();
/* 174 */     return new Dimension(localQDRect.getWidth(), localQDRect.getHeight());
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public QDDimension getOriginalSize()
/*     */     throws QTException
/*     */   {
/* 183 */     QDRect localQDRect = this.mGraphicsImporter.getNaturalBounds();
/* 184 */     return new QDDimension(localQDRect.getWidth(), localQDRect.getHeight());
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 224 */     QDRect localQDRect = getDisplayBounds();
/* 225 */     localQDRect.setX(paramInt1);
/* 226 */     localQDRect.setY(paramInt2);
/* 227 */     setDisplayBounds(localQDRect);
/*     */   }
View Full Code Here

/*     */
/*     */   private native void removeMovie(int paramInt);
/*     */
/*     */   public int createNSView()
/*     */   {
/* 128 */     QDRect localQDRect = new QDRect(0, 0, 1, 1);
/* 129 */     Object localObject = null;
/* 130 */     if (this.movie != null) {
/*     */       try {
/* 132 */         if (this.controller != null)
/*     */           try {
/* 134 */             localQDRect = this.controller.getBounds();
/* 135 */             if (debug) System.err.println("createNSView controller " + this.controller + "bounds " + localQDRect);
/*     */           }
/*     */           catch (QTException localQTException) {  }
/*     */
/* 138 */         else localQDRect = this.movie.getBounds();
/*     */
/* 140 */         setInitialWidthAndHeight(localQDRect, getMinimumSize(), getMaximumSize()); } catch (StdQTException localStdQTException1) {
/*     */       }
/* 142 */       return this.qtjavaView = createNSViewNative(localQDRect.getWidthF(), localQDRect.getHeightF(), new Integer(QTObject.ID(this.movie)), this.controller != null ? new Integer(QTObject.ID(this.controller)) : null);
/*     */     }
/*     */
/* 145 */     if (this.image != null) {
/*     */       try {
/* 147 */         localQDRect = this.image.getBoundsRect();
/* 148 */         setInitialWidthAndHeight(localQDRect, getMinimumSize(), getMaximumSize()); } catch (StdQTException localStdQTException2) {
/*     */       }
/* 150 */       return this.qtjavaView = createImageNSViewNative(localQDRect.getWidth(), localQDRect.getHeight(), new Integer(QTObject.ID(this.image)));
/*     */     }
/* 152 */     if (this.sgChannel != null) {
/*     */       try {
/* 154 */         if ((this.sgChannel instanceof SGVideoChannel))
/* 155 */           localQDRect = this.sgChannel.getBounds();
/* 156 */         setInitialWidthAndHeight(localQDRect, getMinimumSize(), getMaximumSize());
/* 157 */         if (debug) System.err.println("***createNSView sgChannel " + this.sgChannel + ", " + localQDRect);
/*     */       } catch (StdQTException localStdQTException3) {  }
/*     */
/* 159 */       return this.qtjavaView = createSequenceGrabberNSView(localQDRect.getWidth(), localQDRect.getHeight(), new Integer(QTObject.ID(this.sgChannel.getSequenceGrabber())));
/*     */     }
/* 161 */     return 0;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public void setMovieController(MovieController paramMovieController)
/*     */     throws QTException
/*     */   {
/* 456 */     QDRect localQDRect = null;
/* 457 */     if (paramMovieController == this.controller) return;
/*     */
/* 459 */     doRemoveDrawable();
/*     */
/* 461 */     this.controller = paramMovieController;
View Full Code Here

TOP

Related Classes of quicktime.qd.QDRect

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.