Package quicktime.qd

Examples of quicktime.qd.QDRect


/*      */   }
/*      */
/*      */   public QDRect getInputImageDimensions()
/*      */     throws QTException
/*      */   {
/*  468 */     QDRect localQDRect = new QDRect();
/*  469 */     int i = GraphicsExportGetInputImageDimensions(_ID(), localQDRect.getRect());
/*  470 */     StdQTException.checkError(i);
/*  471 */     return localQDRect;
/*      */   }
View Full Code Here


/*      */   }
/*      */
/*      */   private static int allocate(Movie paramMovie, int paramInt)
/*      */     throws StdQTException, QDException
/*      */   {
/*  129 */     QDRect localQDRect = paramMovie.getBounds();
/*  130 */     int i = 0;
/*      */
/*  132 */     synchronized (QTNative.globalsLock) {
/*  133 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/*  134 */         GetGWorld(savedPort, savedDevice);
/*  135 */       i = NewMovieController(QTObject.ID(paramMovie), localQDRect.getRect(), paramInt | 0x1);
/*  136 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4))) {
/*  137 */         SetGWorld(savedPort[0], savedDevice[0]);
/*      */       }
/*      */     }
/*  140 */     StdQTException.checkError(GetMoviesError());
View Full Code Here

/*  180 */     if (localObject != null)
/*  181 */       ((Vector)localObject).removeAllElements();
/*      */   }
/*      */
/*      */   private void initControllerSize() throws StdQTException {
/*  185 */     QDRect localQDRect1 = getMovie().getBounds();
/*  186 */     QDRect localQDRect2 = getBounds();
/*  187 */     this.cWidth = (localQDRect2.getWidth() - localQDRect1.getWidth());
/*  188 */     this.cHeight = (localQDRect2.getHeight() - localQDRect1.getHeight());
/*      */   }
View Full Code Here

/*      */   }
/*      */
/*      */   public final QDRect getTimeSliderRect()
/*      */     throws StdQTException
/*      */   {
/*  870 */     QDRect localQDRect = new QDRect();
/*  871 */     doAction((short)49, localQDRect.getRect());
/*  872 */     return localQDRect;
/*      */   }
View Full Code Here

/*      */
/*      */   public final QDRect getBounds()
/*      */     throws StdQTException
/*      */   {
/* 1087 */     synchronized (QTNative.globalsLock) {
/* 1088 */       QDRect localQDRect = new QDRect();
/* 1089 */       StdQTException.checkError(MCGetControllerBoundsRect(_ID(), localQDRect.getRect()));
/* 1090 */       return localQDRect;
/*      */     }
/*      */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public QDDimension getOriginalSize()
/*     */     throws QTException
/*     */   {
/* 330 */     QDRect localQDRect = this.mSpriteGWorld.getPortRect();
/* 331 */     return new QDDimension(localQDRect.getWidth(), localQDRect.getHeight());
/*     */   }
View Full Code Here

/* 398 */     if (this.mSpriteWorld != null) {
/* 399 */       this.mSpriteWorld.setBounds(paramQDRect);
/*     */     } else {
/* 401 */       this.savedMatrix.setTx(paramQDRect.getX());
/* 402 */       this.savedMatrix.setTy(paramQDRect.getY());
/* 403 */       QDRect localQDRect = this.mSpriteGWorld.getPortRect();
/* 404 */       this.savedMatrix.setSx(paramQDRect.getWidth() / localQDRect.getWidth());
/* 405 */       this.savedMatrix.setSy(paramQDRect.getHeight() / localQDRect.getHeight());
/*     */     }
/* 407 */     this.bnds = paramQDRect;
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 417 */     QDRect localQDRect = getDisplayBounds();
/* 418 */     localQDRect.setX(paramInt1);
/* 419 */     localQDRect.setY(paramInt2);
/* 420 */     setDisplayBounds(localQDRect);
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   public final void redraw(Region paramRegion)
/*     */     throws QTException
/*     */   {
/* 444 */     if (this.mSpriteWorld != null) {
/* 445 */       QDRect localQDRect1 = null;
/* 446 */       if (paramRegion != null) {
/* 447 */         QDRect localQDRect2 = paramRegion.getRgnBBox();
/* 448 */         localQDRect1 = localQDRect2.union(getDisplayBounds());
/* 449 */         if (localQDRect2.equals(localQDRect1))
/* 450 */           localQDRect1 = null;
/*     */         else
/* 452 */           localQDRect1 = localQDRect2.intersection(getDisplayBounds());
/*     */       }
/* 454 */       this.mSpriteWorld.invalidate(localQDRect1);
/* 455 */       idle();
/*     */     }
/*     */   }
View Full Code Here

/* 240 */     setFloatAt(44, paramQDPoint.getYF());
/*     */   }
/*     */
/*     */   public QDRect getHotSpotRect()
/*     */   {
/* 245 */     return new QDRect(getIntAt(50), getIntAt(48), getIntAt(54) - getIntAt(50), getIntAt(52) - getIntAt(48));
/*     */   }
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.