Package quicktime.qd

Examples of quicktime.qd.QDRect


/*  93 */     float f2 = localMatrix1.getTy();
/*     */
/*  95 */     if (localMatrix1 != null) {
/*  96 */       Matrix localMatrix2 = new Matrix();
/*  97 */       QDDimension localQDDimension = getOriginalSize();
/*  98 */       localMatrix2.map(new QDRect(localQDDimension), new QDRect(paramQDDimension));
/*  99 */       localMatrix2.translate(f1, f2);
/* 100 */       setMatrix(localMatrix2);
/*     */     }
/*     */   }
View Full Code Here


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

/*     */       try
/*     */       {
/* 343 */         if (((this.client instanceof SWCompositor)) || ((this.client instanceof Compositor))) {
/* 344 */           SWCompositor localSWCompositor = (SWCompositor)this.client;
/*     */
/* 346 */           this.gwBounds = new QDRect(getX(), getY(), paramInt3, paramInt4);
/* 347 */           this.gw = new QDGraphics(this.gwBounds);
/* 348 */           localSWCompositor.setGWorld(this.gw);
/*     */
/* 350 */           if ((QTSession.isCurrentOS(4)) && (useMacOSXAcceleration)) {
/* 351 */             boolean bool = false;
View Full Code Here

/*  82 */       paramQTDrawable = new MoviePlayer(((QTPlayer)paramQTDrawable).getMovieController().getMovie());
/*  83 */     this.qtSource = paramQTDrawable;
/*  84 */     setRedrawing(requiresRedrawing(paramQTDrawable));
/*  85 */     this.singleFrame = (!isRedrawing());
/*  86 */     this.size = paramDimension;
/*  87 */     this.gw = new QDGraphics(new QDRect(this.size));
/*  88 */     paramQTDrawable.setDisplayBounds(new QDRect(this.size));
/*  89 */     paramQTDrawable.setGWorld(this.gw);
/*  90 */     this.pm = this.gw.getPixMap();
/*  91 */     this.rowInts = (this.pm.getRowBytes() / 4);
/*  92 */     this.pixels = new int[this.rowInts * this.size.height];
/*  93 */     paramQTDrawable.redraw(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 void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 182 */     QDRect localQDRect = getDisplayBounds();
/* 183 */     localQDRect.setX(paramInt1);
/* 184 */     localQDRect.setY(paramInt2);
/* 185 */     setDisplayBounds(localQDRect);
/*     */   }
View Full Code Here

/*     */   QTImageProducer(Presentable paramPresentable, Dimension paramDimension) throws QTException {
/*  87 */     this.qtSource = paramPresentable;
/*  88 */     setRedrawing(requiresRedrawing(paramPresentable));
/*  89 */     this.singleFrame = (!isRedrawing());
/*  90 */     this.size = paramDimension;
/*  91 */     this.gw = new QDGraphics(new QDRect(this.size));
/*  92 */     paramPresentable.setDisplayBounds(new QDRect(this.size));
/*  93 */     paramPresentable.setGWorld(this.gw);
/*  94 */     this.pm = this.gw.getPixMap();
/*  95 */     this.rowInts = (this.pm.getRowBytes() / 4);
/*  96 */     this.pixels = new int[this.rowInts * this.size.height];
/*  97 */     paramPresentable.redraw(null);
View Full Code Here

/*     */   private TwoDSprite sprite;
/*     */
/* 106 */   /** @deprecated */
/*     */   public QTImageDrawer(Paintable paramPaintable, Dimension paramDimension, int paramInt) { this.mSize = paramDimension;
/* 107 */     this.painter = paramPaintable;
/* 108 */     this.image = new ImagePresenter(new QDRect(this.mSize));
/* 109 */     this.singleFrameFlag = paramInt;
/* 110 */     this.mRedrawFlag = (paramInt != 1);
/*     */   }
View Full Code Here

/* 123 */     if (i == -1)
/* 124 */       throw new QTAppException("Image size must be known");
/* 125 */     int j = paramImage.getHeight(null);
/*     */
/* 127 */     this.mSize = new Dimension(i, j);
/* 128 */     this.image = new ImagePresenter(new QDRect(this.mSize));
/* 129 */     this.painter = new JImagePainter(paramImage);
/* 130 */     this.singleFrameFlag = 1;
/* 131 */     this.mRedrawFlag = false;
/*     */   }
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.