Examples of SWCompositor


Examples of quicktime.app.anim.SWCompositor

/* 206 */         int j = localQDRect1.getY();
/* 207 */         if (this.compSpace != null) {
/* 208 */           int k = i;
/* 209 */           int m = j;
/*     */
/* 211 */           SWCompositor localSWCompositor1 = this.compSpace.getParent();
/* 212 */           while (localSWCompositor1 != null) {
/* 213 */             SWCompositor localSWCompositor2 = localSWCompositor1;
/* 214 */             QDRect localQDRect2 = localSWCompositor2.getDisplayBounds();
/* 215 */             k += localQDRect2.getX();
/* 216 */             m += localQDRect2.getY();
/* 217 */             localSWCompositor1 = localSWCompositor2.getParent();
/*     */           }
/* 219 */           paramQTMouseEvent.translate(-k, -m);
/*     */         } else {
/* 221 */           paramQTMouseEvent.translate(-i, -j);
/*     */         }
View Full Code Here

Examples of quicktime.app.anim.SWCompositor

/*     */
/* 266 */         doParentLayout();
/*     */       }
/*     */
/* 269 */       if (((paramQTDrawable instanceof SWCompositor)) || ((paramQTDrawable instanceof Compositor))) {
/* 270 */         SWCompositor localSWCompositor = (SWCompositor)paramQTDrawable;
/*     */
/* 272 */         this.gwBounds = localSWCompositor.getDisplayBounds();
/* 273 */         this.gw = localSWCompositor.getGWorld();
/* 274 */         if (this.gw == null) {
/* 275 */           this.gw = new QDGraphics(this.gwBounds);
/* 276 */           localSWCompositor.setGWorld(this.gw);
/*     */         }
/*     */
/* 279 */         if ((QTSession.isCurrentOS(4)) && (useMacOSXAcceleration)) {
/* 280 */           boolean bool = false;
/* 281 */           this.image = MacDirectColorModel.GetWrappedGWorldImage(QTObject.ID(this.gw), 32, this.gwBounds.getWidth(), this.gwBounds.getHeight(), bool);
/*     */         } else {
/* 283 */           this.pixels = new int[((RawEncodedImage)localSWCompositor.getImage()).getRowBytes() / 4 * paramQDRect.getHeight()];
/* 284 */           this.image = imageFromEncodedImage((RawEncodedImage)localSWCompositor.getImage(), localSWCompositor.getDescription().getBounds());
/*     */         }
/* 286 */         prepareImage(this.image, this);
/* 287 */         localSWCompositor.addDrawingListener(this);
/*     */       }
/*     */       else {
/* 290 */         paramQTDrawable.redraw(null);
/* 291 */         this.ip = new QTImageProducer(this.client, new Dimension(paramQDRect.getWidth(), paramQDRect.getHeight()));
/* 292 */         this.image = createImage(this.ip);
View Full Code Here

Examples of quicktime.app.anim.SWCompositor

/* 339 */       this.initialWidth = paramInt3;
/* 340 */       this.initialHeight = paramInt4;
/*     */       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;
/* 352 */             this.image = MacDirectColorModel.GetWrappedGWorldImage(QTObject.ID(this.gw), 32, this.gwBounds.getWidth(), this.gwBounds.getHeight(), bool);
/*     */           } else {
/* 354 */             this.pixels = new int[((RawEncodedImage)localSWCompositor.getImage()).getRowBytes() / 4 * this.gwBounds.getHeight()];
/* 355 */             this.image = imageFromEncodedImage((RawEncodedImage)localSWCompositor.getImage(), this.gwBounds);
/*     */           }
/*     */
/* 358 */           prepareImage(this.image, this);
/*     */         } else {
/* 360 */           this.client.redraw(null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.