Package quicktime

Examples of quicktime.QTException


/*     */   public void setFieldOfView(float paramFloat)
/*     */     throws QTException
/*     */   {
/* 119 */     int i = getSelector();
/* 120 */     if (i != 8194)
/* 121 */       throw new QTException(-50);
/* 122 */     int j = getIntAt(20);
/* 123 */     setFloatInPointer(j, 0, paramFloat);
/*     */   }
View Full Code Here


/*     */   public QDPoint getViewCenter()
/*     */     throws QTException
/*     */   {
/* 133 */     int i = getSelector();
/* 134 */     if (i != 8195)
/* 135 */       throw new QTException(-50);
/* 136 */     int j = getIntAt(20);
/* 137 */     float f1 = getFloatFromPointer(j, 0);
/* 138 */     float f2 = getFloatFromPointer(j, 4);
/* 139 */     return new QDPoint(f1, f2);
/*     */   }
View Full Code Here

/*     */   public void setViewCenter(QDPoint paramQDPoint)
/*     */     throws QTException
/*     */   {
/* 149 */     int i = getSelector();
/* 150 */     if (i != 8195)
/* 151 */       throw new QTException(-50);
/* 152 */     int j = getIntAt(20);
/* 153 */     setFloatInPointer(j, 0, paramQDPoint.getXF());
/* 154 */     setFloatInPointer(j, 4, paramQDPoint.getYF());
/*     */   }
View Full Code Here

/*     */   {
/* 164 */     int i = getSelector();
/* 165 */     if ((i == 8202) || (i == 8203)) {
/* 166 */       return getIntAt(20);
/*     */     }
/* 168 */     throw new QTException(-50);
/*     */   }
View Full Code Here

/*     */   {
/* 178 */     int i = getSelector();
/* 179 */     if ((i == 8202) || (i == 8203)) {
/* 180 */       setIntAt(20, paramInt);
/*     */     }
/* 182 */     throw new QTException(-50);
/*     */   }
View Full Code Here

/*     */
/*     */   public int getHotSpotType()
/*     */     throws QTException
/*     */   {
/* 192 */     if (getSelector() != 8203)
/* 193 */       throw new QTException(-50);
/* 194 */     int i = getIntAt(24);
/* 195 */     return getIntFromPointer(i, 0);
/*     */   }
View Full Code Here

/*     */
/*     */   public void setHotSpotType(int paramInt)
/*     */     throws QTException
/*     */   {
/* 205 */     if (getSelector() != 8203)
/* 206 */       throw new QTException(-50);
/* 207 */     int i = getIntAt(24);
/* 208 */     setIntInPointer(i, 0, paramInt);
/*     */   }
View Full Code Here

/*     */
/*     */   public QTVRAngleRange(byte[] paramArrayOfByte)
/*     */     throws QTException
/*     */   {
/*  50 */     super(paramArrayOfByte);
/*  51 */     if (paramArrayOfByte.length != 8) throw new QTException(-50);
/*     */   }
View Full Code Here

/*     */   {
/* 112 */     int i = 0;
/* 113 */     int[] arrayOfInt = { 0 };
/*     */
/* 115 */     if ((paramQDGraphics == null) || (paramQDRect == null))
/* 116 */       throw new QTException(-50);
/* 117 */     synchronized (QTNative.globalsLock) {
/* 118 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/* 119 */         GetGWorld(savedPort, savedDevice);
/* 120 */       SetGWorld(QTObject.ID(paramQDGraphics), 0);
/* 121 */       csImageDescription = new ImageDescription(0);
View Full Code Here

/*   64 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/*   65 */         GetGWorld(savedPort, savedDevice);
/*   66 */       if (QTSession.isInitialized())
/*   67 */         MoviesTask(0, paramInt);
/*      */       else
/*   69 */         throw new QTException("QuickTime is NOT initialized");
/*   70 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/*   71 */         SetGWorld(savedPort[0], savedDevice[0]);
/*      */     }
/*      */   }
View Full Code Here

TOP

Related Classes of quicktime.QTException

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.