Examples of QDDimension


Examples of quicktime.qd.QDDimension

/*     */
/*     */   /** @deprecated */
/*     */   public QDDimension getOriginalSize()
/*     */     throws QTException
/*     */   {
/* 235 */     return new QDDimension(this.mDesc.getWidth(), this.mDesc.getHeight());
/*     */   }
View Full Code Here

Examples of quicktime.qd.QDDimension

/* 192 */         this.space.getMatrix().inverse(localMatrix2);
/*     */
/* 195 */         QDRect localQDRect1 = this.space.getDisplayBounds().copy();
/* 196 */         localMatrix2.transformRect(localQDRect1);
/*     */
/* 199 */         QDDimension localQDDimension = this.target.getOriginalSize();
/* 200 */         float f1 = localMatrix1.getTx();
/* 201 */         float f2 = localMatrix1.getTy();
/* 202 */         int i = localQDRect1.getX();
/* 203 */         int j = localQDRect1.getWidth() - localQDDimension.getWidth();
/* 204 */         int k = localQDRect1.getY();
/* 205 */         int m = localQDRect1.getHeight() - localQDDimension.getHeight();
/*     */
/* 207 */         switch (localMatrix1.getType()) {
/*     */         case 0:
/*     */         case 1:
/* 210 */           break;
/*     */         default:
/* 214 */           QDRect localQDRect2 = new QDRect(0, 0, localQDDimension.getWidth(), localQDDimension.getHeight());
/* 215 */           localMatrix1.transformRect(localQDRect2);
/* 216 */           localQDDimension.setWidth(localQDRect2.getWidth());
/* 217 */           localQDDimension.setHeight(localQDRect2.getHeight());
/* 218 */           i = (int)(localMatrix1.getTx() - localQDRect2.getX() + 0.5F);
/* 219 */           f1 -= i;
/* 220 */           k = (int)(localMatrix1.getTy() - localQDRect2.getY() + 0.5F);
/* 221 */           f2 -= k;
/* 222 */           m = localQDRect1.getHeight() - localQDDimension.getHeight() + k;
/* 223 */           j = localQDRect1.getWidth() - localQDDimension.getWidth() + i;
/*     */         }
/*     */
/* 227 */         if (f1 < localQDRect1.getX()) {
/* 228 */           localMatrix1.setTx(i);
/* 229 */           boundsReached(1);
/* 230 */           this.consReached = true;
/* 231 */         } else if (f1 + localQDDimension.getWidth() > localQDRect1.getWidth()) {
/* 232 */           localMatrix1.setTx(j);
/* 233 */           boundsReached(16);
/* 234 */           this.consReached = true;
/*     */         }
/*     */
/* 237 */         if (f2 < localQDRect1.getY()) {
/* 238 */           localMatrix1.setTy(k);
/* 239 */           boundsReached(256);
/* 240 */           this.consReached = true;
/* 241 */         } else if (f2 + localQDDimension.getHeight() > localQDRect1.getHeight()) {
/* 242 */           localMatrix1.setTy(m);
/* 243 */           boundsReached(4096);
/* 244 */           this.consReached = true;
/*     */         }
/*     */       }
View Full Code Here

Examples of quicktime.qd.QDDimension

/* 260 */       int j = arrayOfQDPoint[0].getX() - this.origPt[0].getX();
/* 261 */       int k = arrayOfQDPoint[0].getY() - this.origPt[0].getY();
/* 262 */       Matrix localMatrix = this.origTargetMatrix.copy();
/* 263 */       localMatrix.translate(j, k);
/*     */
/* 265 */       QDDimension localQDDimension = this.target.getOriginalSize();
/* 266 */       int m = localQDDimension.getWidth();
/* 267 */       int n = localQDDimension.getHeight();
/* 268 */       float f1 = localMatrix.getTx();
/* 269 */       float f2 = localMatrix.getTy();
/* 270 */       int i1 = this.spaceRect.getX();
/* 271 */       int i2 = this.spaceRect.getWidth() - m;
/* 272 */       int i3 = this.spaceRect.getY();
View Full Code Here

Examples of quicktime.qd.QDDimension

/*     */
/*     */   /** @deprecated */
/*     */   public DirectGroup(Dimension paramDimension, QDColor paramQDColor)
/*     */     throws QTException
/*     */   {
/*  88 */     this(new QDDimension(paramDimension.width, paramDimension.height), paramQDColor, 10, 1, p);
/*     */   }
View Full Code Here

Examples of quicktime.qd.QDDimension

/*      */
/* 1008 */     int i = GraphicsExportGetThumbnailEnabled(_ID(), arrayOfByte, arrayOfInt1, arrayOfInt2);
/*      */
/* 1010 */     StdQTException.checkError(i);
/*      */
/* 1012 */     return new QDDimension(arrayOfInt1[0], arrayOfInt2[0]);
/*      */   }
View Full Code Here

Examples of quicktime.qd.QDDimension

/*  188 */     this.cHeight = (localQDRect2.getHeight() - localQDRect1.getHeight());
/*      */   }
/*      */
/*      */   public final QDDimension getRequiredSize()
/*      */   {
/*  198 */     return new QDDimension(this.cWidth, this.cHeight);
/*      */   }
View Full Code Here

Examples of quicktime.qd.QDDimension

/*     */
/*     */   /** @deprecated */
/*     */   public Dimension getMainScreenSize()
/*     */     throws StdQTException
/*     */   {
/*  54 */     QDDimension localQDDimension = getSizeOfMainScreen();
/*  55 */     return new Dimension(localQDDimension.getWidth(), localQDDimension.getHeight());
/*     */   }
View Full Code Here

Examples of quicktime.qd.QDDimension

/*  72 */     arrayOfShort2[0] = 0;
/*     */
/*  74 */     StdQTException.checkError(BeginFullScreen(arrayOfInt, 0, arrayOfShort1, arrayOfShort2, 0, 0, 8));
/*     */
/*  84 */     this.restoreState = arrayOfInt[0];
/*  85 */     return new QDDimension(arrayOfShort1[0], arrayOfShort2[0]);
/*     */   }
View Full Code Here

Examples of quicktime.qd.QDDimension

/*     */
/*     */   /** @deprecated */
/*     */   public Dimension getScreenSize(GDevice paramGDevice)
/*     */     throws StdQTException
/*     */   {
/*  96 */     QDDimension localQDDimension = getSizeOfScreen(paramGDevice);
/*  97 */     return new Dimension(localQDDimension.getWidth(), localQDDimension.getHeight());
/*     */   }
View Full Code Here

Examples of quicktime.qd.QDDimension

/* 114 */     arrayOfShort2[0] = 0;
/*     */
/* 116 */     StdQTException.checkError(BeginFullScreen(arrayOfInt, QTObject.ID(paramGDevice), arrayOfShort1, arrayOfShort2, 0, 0, 8));
/*     */
/* 126 */     this.restoreState = arrayOfInt[0];
/* 127 */     return new QDDimension(arrayOfShort1[0], arrayOfShort2[0]);
/*     */   }
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.