Package quicktime.qd

Examples of quicktime.qd.QDRect


/* 585 */     if (paramFloat2 < 0.0F)
/* 586 */       paramFloat2 = 1.0F;
/* 587 */     else if (paramFloat2 > 1.0F) {
/* 588 */       paramFloat2 = 1.0F;
/*     */     }
/* 590 */     QDRect localQDRect1 = getDisplayBounds();
/*     */
/* 592 */     int i = localQDRect1.getX();
/* 593 */     int j = localQDRect1.getY();
/* 594 */     int k = localQDRect1.getWidth();
/* 595 */     int m = localQDRect1.getHeight();
/*     */
/* 597 */     QDRect localQDRect2 = paramQTDrawable.getDisplayBounds();
/*     */
/* 600 */     int n = k - localQDRect2.getWidth();
/* 601 */     int i1 = m - localQDRect2.getHeight();
/* 602 */     if (n < 0) n = 0;
/* 603 */     if (i1 < 0) i1 = 0;
/*     */
/* 607 */     int i2 = (int)(n * paramFloat1);
/*     */
View Full Code Here


/*     */   /** @deprecated */
/*     */   public void setImageData(EncodedImage paramEncodedImage, ImageDescription paramImageDescription)
/*     */     throws QTException, StdQTException
/*     */   {
/*  63 */     if (this.imagePresenter == null) {
/*  64 */       this.imagePresenter = new ImagePresenter(new QDRect(paramImageDescription.getWidth(), paramImageDescription.getHeight()));
/*     */     }
/*  66 */     this.imagePresenter.setImageData(paramEncodedImage, paramImageDescription);
/*  67 */     this.imagePresenter.redraw(null);
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 140 */     QDRect localQDRect = getDisplayBounds();
/* 141 */     localQDRect.setX(paramInt1);
/* 142 */     localQDRect.setY(paramInt2);
/* 143 */     setDisplayBounds(localQDRect);
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public Dimension getInitialSize()
/*     */     throws QTException
/*     */   {
/* 111 */     QDRect localQDRect = this.mMovie.getNaturalBoundsRect();
/* 112 */     return new Dimension(localQDRect.getWidth(), localQDRect.getHeight());
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public QDDimension getOriginalSize()
/*     */     throws QTException
/*     */   {
/* 121 */     QDRect localQDRect = this.mMovie.getNaturalBoundsRect();
/* 122 */     return new QDDimension(localQDRect.getWidth(), localQDRect.getHeight());
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   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 static ImagePresenter fromGraphicsImporterDrawer(GraphicsImporterDrawer paramGraphicsImporterDrawer)
/*     */     throws IOException, QTException
/*     */   {
/*  73 */     QDRect localQDRect = new QDRect(paramGraphicsImporterDrawer.getDisplayBounds().getWidth(), paramGraphicsImporterDrawer.getDisplayBounds().getHeight());
/*  74 */     QDGraphics localQDGraphics = new QDGraphics(localQDRect);
/*  75 */     paramGraphicsImporterDrawer.setDisplayBounds(localQDRect);
/*  76 */     paramGraphicsImporterDrawer.setGWorld(localQDGraphics);
/*  77 */     paramGraphicsImporterDrawer.redraw(null);
/*  78 */     return fromGWorld(localQDGraphics);
View Full Code Here

/*     */   /** @deprecated */
/*     */   public static ImagePresenter fromPict(Pict paramPict)
/*     */     throws QTException
/*     */   {
/* 143 */     ImageDescription localImageDescription = new ImageDescription(1902408311);
/* 144 */     QDRect localQDRect = paramPict.getPictFrame();
/* 145 */     localImageDescription.setVersion(-2);
/* 146 */     localImageDescription.setVendor(1634758764);
/* 147 */     localImageDescription.setSpatialQuality(1024);
/* 148 */     localImageDescription.setWidth(localQDRect.getWidth());
/* 149 */     localImageDescription.setHeight(localQDRect.getHeight());
/* 150 */     localImageDescription.setHRes(72.0F);
/* 151 */     localImageDescription.setVRes(72.0F);
/* 152 */     localImageDescription.setDataSize(paramPict.getSize());
/* 153 */     localImageDescription.setFrameCount(1);
/* 154 */     localImageDescription.setDepth(24);
View Full Code Here

/* 222 */     if ((paramEncodedImage != null) &&
/* 223 */       (this.optimiseRedraw)) if (((i == 1919706400) || (i == 1918990112) || (i == 1902408311) || (i == 1885434984) || (ICMPixelFormatInfo.isValidPixelFormat(i)) ? 1 : 0) == 0)
/*     */       {
/* 229 */         Object localObject1 = null;
/*     */         try {
/* 231 */           QDGraphics localQDGraphics = new QDGraphics(new QDRect(paramImageDescription.getWidth(), paramImageDescription.getHeight()));
/* 232 */           DSequence localDSequence = new DSequence(paramImageDescription, localQDGraphics, null, null, null, 0, 768, CodecComponent.anyCodec);
/*     */
/* 240 */           localDSequence.decompressFrameS(paramEncodedImage, 0);
/* 241 */           PixMap localPixMap = localQDGraphics.getPixMap();
/* 242 */           this.mImageDescription = new ImageDescription(localPixMap);
/* 243 */           paramEncodedImage = localPixMap.getPixelData();
/*     */         } catch (QTException localQTException) {
/* 245 */           this.mImageDescription = paramImageDescription;
/*     */         } finally {
/* 247 */           if (localObject1 != null) localObject1.reset();
/*     */         }
/*     */       }
/*     */
/* 251 */     this.mImageDescription.setFrameCount(1);
/*     */
/* 253 */     this.origWidth = paramImageDescription.getWidth();
/* 254 */     this.origHeight = paramImageDescription.getHeight();
/* 255 */     if (this.mDisplayBounds == null)
/* 256 */       this.mDisplayBounds = new QDRect(paramImageDescription.getWidth(), paramImageDescription.getHeight());
/* 257 */     setDisplayBounds(this.mDisplayBounds);
/*     */
/* 259 */     setImageData(paramEncodedImage);
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 520 */     QDRect localQDRect = getDisplayBounds();
/* 521 */     localQDRect.setX(paramInt1);
/* 522 */     localQDRect.setY(paramInt2);
/* 523 */     setDisplayBounds(localQDRect);
/*     */   }
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.