Examples of QTImageProducer


Examples of quicktime.app.image.QTImageProducer

/* 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);
/* 293 */         prepareImage(this.image, this);
/*     */       }
/* 295 */       if ((paramQTDrawable instanceof DrawingNotifier))
/* 296 */         ((DrawingNotifier)paramQTDrawable).addDrawingListener(this);
View Full Code Here

Examples of quicktime.app.image.QTImageProducer

/*     */   {
/* 303 */     if ((QTSession.isCurrentOS(4)) && (useMacOSXAcceleration))
/*     */     {
/* 305 */       boolean bool = false;
/*     */
/* 307 */       QTImageProducer localQTImageProducer = (QTImageProducer)paramImageProducer;
/*     */
/* 309 */       Dimension localDimension = localQTImageProducer.getSize();
/* 310 */       QDGraphics localQDGraphics = localQTImageProducer.getGWorld();
/* 311 */       this.gw = localQDGraphics;
/*     */
/* 313 */       BufferedImage localBufferedImage = MacDirectColorModel.GetWrappedGWorldImage(QTObject.ID(localQDGraphics), 32, localDimension.width, localDimension.height, bool);
/*     */
/* 315 */       return localBufferedImage;
View Full Code Here

Examples of quicktime.app.image.QTImageProducer

/*     */           }
/*     */
/* 358 */           prepareImage(this.image, this);
/*     */         } else {
/* 360 */           this.client.redraw(null);
/* 361 */           this.ip = new QTImageProducer(this.client, localDimension);
/* 362 */           this.image = createImage(this.ip);
/* 363 */           prepareImage(this.image, this);
/*     */         }
/*     */       } catch (QTException localQTException) {
/* 366 */         localQTException.printStackTrace();
View Full Code Here

Examples of quicktime.app.view.QTImageProducer

    GraphicsImporter gi = new GraphicsImporter(StdQTConstants.kQTFileTypePicture);
    gi.setDataReference (ref);
    GraphicsImporterDrawer gid = new GraphicsImporterDrawer (gi);
    // Dimension imageSize = new Dimension (getPictRect().getWidth(), getPictRect().getHeight());
    Dimension imageSize = new Dimension (120, 80);
    QTImageProducer ip = new QTImageProducer (gid, imageSize);
    Image javaImage = Toolkit.getDefaultToolkit().createImage (ip);
    //ImagePanel imagePanel = new ImagePanel(javaImage);
    //getContentPane().add(imagePanel, BorderLayout.CENTER);
    //setSize(imageSize);
    // setVisible(true);
View Full Code Here

Examples of quicktime.app.view.QTImageProducer

    // export the pict
    DataRef ref = new DataRef(pic, StdQTConstants.kDataRefQTFileTypeTag,
    "PICT");
    gi.setDataReference(ref);
    Dimension dim = new Dimension(width, height);
    QTImageProducer ip  = new QTImageProducer(gid, dim);

    // convert to java.awt.Image and then to image icon
    Image image = Toolkit.getDefaultToolkit().createImage(ip);
    return image;
  } // makeJimage(Pict, int, int)
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.