Package quicktime.qd

Examples of quicktime.qd.QDRect


/*     */   }
/*     */
/*     */   public QDRect getBounds()
/*     */     throws StdQTException
/*     */   {
/*  62 */     QDRect localQDRect = new QDRect();
/*  63 */     StdQTException.checkError(SGGetChannelBounds(_ID(), localQDRect.getRect()));
/*     */
/*  66 */     return localQDRect;
/*     */   }
View Full Code Here


/*     */   }
/*     */
/*     */   public QDRect getVideoRect()
/*     */     throws StdQTException
/*     */   {
/* 180 */     QDRect localQDRect = new QDRect();
/* 181 */     int i = SGGetVideoRect(_ID(), localQDRect.getRect());
/* 182 */     StdQTException.checkError(i);
/* 183 */     return localQDRect;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public QDRect getSrcVideoBounds()
/*     */     throws StdQTException
/*     */   {
/* 192 */     QDRect localQDRect = new QDRect();
/* 193 */     int i = SGGetSrcVideoBounds(_ID(), localQDRect.getRect());
/* 194 */     StdQTException.checkError(i);
/* 195 */     return localQDRect;
/*     */   }
View Full Code Here

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

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

/*     */
/*     */   /** @deprecated */
/*     */   public void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 199 */     QDRect localQDRect = getDisplayBounds();
/* 200 */     localQDRect.setX(paramInt1);
/* 201 */     localQDRect.setY(paramInt2);
/* 202 */     setDisplayBounds(localQDRect);
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   public QDDimension getOriginalSize()
/*     */     throws QTException
/*     */   {
/* 119 */     QDDimension localQDDimension = this.controller.getRequiredSize();
/* 120 */     QDRect localQDRect = this.controller.getMovie().getNaturalBoundsRect();
/* 121 */     return new QDDimension(localQDRect.getWidth() + localQDDimension.getWidth(), localQDRect.getHeight() + localQDDimension.getHeight());
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void setLocation(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 248 */     QDRect localQDRect = getDisplayBounds();
/* 249 */     localQDRect.setX(paramInt1);
/* 250 */     localQDRect.setY(paramInt2);
/* 251 */     setDisplayBounds(localQDRect);
/*     */   }
View Full Code Here

/* 134 */     this.xLocationOffset = 0;
/* 135 */     this.yLocationOffset = 0;
/*     */     try {
/* 137 */       while (localSWCompositor1 != null) {
/* 138 */         localSWCompositor2 = localSWCompositor1;
/* 139 */         QDRect localQDRect = localSWCompositor2.getDisplayBounds();
/* 140 */         this.xLocationOffset += localQDRect.getX();
/* 141 */         this.yLocationOffset += localQDRect.getY();
/* 142 */         localSWCompositor1 = localSWCompositor2.getParent();
/*     */       }
/*     */     } catch (QTException localQTException) {
/* 145 */       QTRuntimeException.handleOrThrow(new QTRuntimeException(localQTException), localSWCompositor2, "getDisplayBounds");
/*     */     }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   protected Object getSelected(MouseEvent paramMouseEvent)
/*     */     throws QTException
/*     */   {
/* 160 */     QDRect localQDRect = this.sd.getDisplayBounds();
/* 161 */     this.p.setX(paramMouseEvent.getX() + localQDRect.getX());
/* 162 */     this.p.setY(paramMouseEvent.getY() + localQDRect.getY());
/*     */
/* 164 */     if (!localQDRect.inside(this.p.getX(), this.p.getY())) {
/* 165 */       return null;
/*     */     }
/* 167 */     if (isWholespace())
/*     */     {
/* 170 */       this.sd.hitTestFlag = this.flags;
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.