Package quicktime.qd

Examples of quicktime.qd.QDRect


/*     */
/*     */   /** @deprecated */
/*     */   public void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 432 */     QDRect localQDRect = getDisplayBounds();
/* 433 */     localQDRect.setX(paramInt1);
/* 434 */     localQDRect.setY(paramInt2);
/* 435 */     setDisplayBounds(localQDRect);
/*     */   }
View Full Code Here


/* 533 */           int m = arrayOfRectangle[i].width > this.mSize.width ? this.mSize.width : arrayOfRectangle[i].width;
/* 534 */           int n = arrayOfRectangle[i].height > this.mSize.height ? this.mSize.height : arrayOfRectangle[i].height;
/* 535 */           PixelGrabber localPixelGrabber = new PixelGrabber(this.offscreenImage, j, k, m, n, this.iData.getInts(), k * this.mSize.width + j, this.mSize.width);
/* 536 */           localPixelGrabber.grabPixels();
/* 537 */           if (localRegion == null)
/* 538 */             localRegion = new Region(new QDRect(arrayOfRectangle[i].x, arrayOfRectangle[i].y, arrayOfRectangle[i].width, arrayOfRectangle[i].height));
/*     */           else
/* 540 */             localRegion = localRegion.union(new QDRect(arrayOfRectangle[i].x, arrayOfRectangle[i].y, arrayOfRectangle[i].width, arrayOfRectangle[i].height));
/*     */         }
/*     */     }
/*     */     catch (InterruptedException localInterruptedException) {
/* 544 */       this.interruptedGrab = true;
/* 545 */       if (this.singleFrameFlag == 2)
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public synchronized void setDisplayBounds(QDRect paramQDRect)
/*     */     throws QTException
/*     */   {
/* 154 */     QDRect localQDRect = getDisplayBounds();
/*     */
/* 156 */     Matrix localMatrix = new Matrix();
/*     */
/* 158 */     localMatrix.setTx(paramQDRect.getX());
/* 159 */     localMatrix.setTy(paramQDRect.getY());
/* 160 */     localMatrix.setSx(paramQDRect.getWidth() / localQDRect.getWidth());
/* 161 */     localMatrix.setSy(paramQDRect.getHeight() / localQDRect.getHeight());
/*     */
/* 163 */     setMatrix(localMatrix);
/*     */
/* 165 */     this.pres.setDimensions(null, paramQDRect.getWidth(), paramQDRect.getHeight());
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 175 */     QDRect localQDRect = getDisplayBounds();
/* 176 */     localQDRect.setX(paramInt1);
/* 177 */     localQDRect.setY(paramInt2);
/* 178 */     setDisplayBounds(localQDRect);
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public QDRect getDisplayBounds()
/*     */     throws QTException
/*     */   {
/* 188 */     return new QDRect(this.pres.getDimensions(null));
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   private static ImageDataSequence makeTransparent(ImageSpec paramImageSpec, QDColor paramQDColor, QDGraphics paramQDGraphics, Region paramRegion, Region[] paramArrayOfRegion)
/*     */     throws QTException
/*     */   {
/* 155 */     QDRect localQDRect = paramQDGraphics.getPortRect();
/* 156 */     PixMap localPixMap1 = paramQDGraphics.getPixMap();
/* 157 */     int i = localPixMap1.getPixelSize();
/*     */
/* 159 */     int j = (paramRegion != null) || (paramArrayOfRegion != null) ? 1 : 0;
/*     */
View Full Code Here

/*     */   /** @deprecated */
/*     */   protected GroupDrawable(QDDimension paramQDDimension, QDColor paramQDColor, int paramInt1, int paramInt2, Protocol paramProtocol)
/*     */     throws QTException
/*     */   {
/*  89 */     super(paramProtocol, paramInt1, paramInt2);
/*  90 */     this.displayBounds = new QDRect(paramQDDimension);
/*  91 */     this.initSize = paramQDDimension;
/*  92 */     this.eraseRegion = new Region(this.displayBounds);
/*  93 */     this.clip = this.eraseRegion;
/*  94 */     setBackgroundColor(paramQDColor);
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   protected Object getHitTarget(int paramInt1, int paramInt2)
/*     */   {
/* 665 */     if (this.displaySpace != null) {
/*     */       try {
/* 667 */         QDRect localQDRect = this.displaySpace.getDisplayBounds();
/* 668 */         int i = paramInt1 + localQDRect.getX();
/* 669 */         int j = paramInt2 + localQDRect.getY();
/*     */
/* 671 */         if (!localQDRect.inside(i, j)) {
/* 672 */           return null;
/*     */         }
/*     */
/* 676 */         if (isWholespace()) {
/* 677 */           return this.displaySpace.hitTest(i, j);
View Full Code Here

/*     */   public void setMatrix(Matrix paramMatrix)
/*     */     throws QTException
/*     */   {
/* 504 */     int i = (int)(paramMatrix.getTx() + 0.5F);
/* 505 */     int j = (int)(paramMatrix.getTy() + 0.5F);
/* 506 */     setDisplayBounds(new QDRect(i, j, this.displayBounds.getWidth(), this.displayBounds.getHeight()));
/*     */   }
View Full Code Here

/*     */     throws QTException;
/*     */
/*     */   final synchronized void _addQTDrawable(GroupMember paramGroupMember)
/*     */     throws QTException
/*     */   {
/* 537 */     QDRect localQDRect = getDisplayBounds();
/* 538 */     int i = 0;
/*     */
/* 541 */     synchronized (this.vec) {
/* 542 */       for (int j = 0; j < this.vec.size(); j++) {
/* 543 */         GroupMember localGroupMember = (GroupMember)this.vec.elementAt(j);
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.