Package quicktime.std.image

Examples of quicktime.std.image.Matrix.map()


        {
          height = (int) (height * scale);
        } // if (originalaspect != changedaspect)
      } // if (aspect)
      newsize = new QDRect(0, 0, width, height);
      stretch.map(oldsize, newsize);
      video.setMatrix(stretch);
    } // try
    catch (QTException qte)
    {
      qte.printStackTrace();
View Full Code Here


      QDRect from1 = new QDRect(0, 0, trackFore.getSize().getWidth(),
        trackFore.getSize().getHeight());
      QDRect to1 = new QDRect(0, 0,
        movFore.getDisplayBoundsRgn().getBounds().getWidth(),
        movFore.getDisplayBoundsRgn().getBounds().getHeight());
      matrix1.map(from1, to1);
      Matrix matrix2 = new Matrix();
      QDRect from2 = new QDRect(0, 0, trackBack.getSize().getWidth(),
        trackBack.getSize().getHeight());
      QDRect to2 = new QDRect(0, 0,
        movBack.getDisplayBoundsRgn().getBounds().getWidth(),
View Full Code Here

      QDRect from2 = new QDRect(0, 0, trackBack.getSize().getWidth(),
        trackBack.getSize().getHeight());
      QDRect to2 = new QDRect(0, 0,
        movBack.getDisplayBoundsRgn().getBounds().getWidth(),
        movBack.getDisplayBoundsRgn().getBounds().getHeight());
      matrix2.map(from2, to2);

      GraphicsMode graph = new GraphicsMode(QDConstants.transparent, key);

      // make pixels with key color transparent, so back movie shows through
      VisualMediaHandler handlerFore =
View Full Code Here

/*  93 */     float f2 = localMatrix1.getTy();
/*     */
/*  95 */     if (localMatrix1 != null) {
/*  96 */       Matrix localMatrix2 = new Matrix();
/*  97 */       QDDimension localQDDimension = getOriginalSize();
/*  98 */       localMatrix2.map(new QDRect(localQDDimension), new QDRect(paramQDDimension));
/*  99 */       localMatrix2.translate(f1, f2);
/* 100 */       setMatrix(localMatrix2);
/*     */     }
/*     */   }
/*     */
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.