Examples of Pixmap


Examples of com.sun.jna.platform.unix.X11.Pixmap

                                           Raster raster) {
            final X11 x11 = X11.INSTANCE;
            Rectangle bounds = raster.getBounds();
            int width = bounds.x + bounds.width;
            int height = bounds.y + bounds.height;
            final Pixmap pm = x11.XCreatePixmap(dpy, win, width, height, 1);
            final GC gc = x11.XCreateGC(dpy, pm, new NativeLong(0), null);
            if (gc == null) {
                return null;
            }
            x11.XSetForeground(dpy, gc, new NativeLong(0));
View Full Code Here

Examples of com.sun.jna.platform.unix.X11.Pixmap

                    X11 x11 = X11.INSTANCE;
                    Display dpy = x11.XOpenDisplay(null);
                    if (dpy == null) {
                        return;
                    }
                    Pixmap pm = null;
                    try {
                        X11.Window win = getDrawable(w);
                        pm = src.getPixmap(dpy, win);
                        Xext ext = Xext.INSTANCE;
                        ext.XShapeCombineMask(dpy, win, X11.Xext.ShapeBounding,
View Full Code Here

Examples of com.sun.jna.platform.unix.X11.Pixmap

                                           Raster raster) {
            final X11 x11 = X11.INSTANCE;
            Rectangle bounds = raster.getBounds();
            int width = bounds.x + bounds.width;
            int height = bounds.y + bounds.height;
            final Pixmap pm = x11.XCreatePixmap(dpy, win, width, height, 1);
            final GC gc = x11.XCreateGC(dpy, pm, new NativeLong(0), null);
            if (gc == null) {
                return null;
            }
            x11.XSetForeground(dpy, gc, new NativeLong(0));
View Full Code Here

Examples of com.sun.jna.platform.unix.X11.Pixmap

                    X11 x11 = X11.INSTANCE;
                    Display dpy = x11.XOpenDisplay(null);
                    if (dpy == null) {
                        return;
                    }
                    Pixmap pm = null;
                    try {
                        X11.Window win = getDrawable(w);
                        pm = src.getPixmap(dpy, win);
                        Xext ext = Xext.INSTANCE;
                        ext.XShapeCombineMask(dpy, win, X11.Xext.ShapeBounding,
View Full Code Here

Examples of org.eclipse.swt.internal.carbon.PixMap

  OS.HLock(iconHandle);
  int[] iconPtr = new int[1];
  OS.memcpy(iconPtr, iconHandle, 4);

  /* Initialize the pixmap */
  PixMap iconPMap = new PixMap();
  iconPMap.rowBytes = (short)(bpr | 0x8000);
  iconPMap.right = (short)width;
  iconPMap.bottom = (short)height;
  iconPMap.cmpCount = 3;
  iconPMap.cmpSize = (short)bpc;
View Full Code Here

Examples of org.eclipse.swt.internal.carbon.PixMap

  OS.HLock(iconHandle);
 
  /* Dispose the ColorTable */
  int[] iconPtr = new int[1];
  OS.memcpy(iconPtr, iconHandle, 4)
  PixMap iconPMap = new PixMap();
  OS.memcpy(iconPMap, iconPtr[0], PixMap.sizeof);
  if (iconPMap.pmTable != 0) OS.DisposeHandle(iconPMap.pmTable);

  /* Dispose the icon data */
  int[] iconData = new int[1];
View Full Code Here

Examples of quicktime.qd.PixMap

/*     */   {
/*  99 */     super(moveToZero(paramMovie.getBounds()));
/* 100 */     this.m = paramMovie;
/* 101 */     this.g = paramQDGraphics;
/* 102 */     paramMovie.setGWorld(paramQDGraphics, null);
/* 103 */     PixMap localPixMap = paramQDGraphics.getPixMap();
/* 104 */     setImageData(localPixMap.getPixelData(), new ImageDescription(localPixMap));
/* 105 */     this.gModeOpaque = true;
/* 106 */     paramMovie.task(0);
/*     */   }
View Full Code Here

Examples of quicktime.qd.PixMap

/*     */
/*     */   private static ImageDataSequence makeTransparent(ImageSpec paramImageSpec, QDColor paramQDColor, QDGraphics paramQDGraphics, Region paramRegion, Region[] paramArrayOfRegion)
/*     */     throws QTException
/*     */   {
/* 155 */     QDRect localQDRect = paramQDGraphics.getPortRect();
/* 156 */     PixMap localPixMap1 = paramQDGraphics.getPixMap();
/* 157 */     int i = localPixMap1.getPixelSize();
/*     */
/* 159 */     int j = (paramRegion != null) || (paramArrayOfRegion != null) ? 1 : 0;
/*     */
/* 161 */     DSequenceFromMemory localDSequenceFromMemory = new DSequenceFromMemory(paramImageSpec);
/* 162 */     localDSequenceFromMemory.setGWorld(paramQDGraphics);
/* 163 */     ImageDataSequence localImageDataSequence1 = new ImageDataSequence();
/*     */
/* 165 */     CSequenceToMemory localCSequenceToMemory = new CSequenceToMemory(2);
/*     */
/* 167 */     QDGraphics localQDGraphics1 = null;
/* 168 */     QDGraphics localQDGraphics2 = null;
/* 169 */     PixMap localPixMap2 = null;
/* 170 */     ImageDescription localImageDescription = null;
/* 171 */     ImageSequenceDataSource localImageSequenceDataSource = null;
/* 172 */     if (j != 0) {
/* 173 */       localQDGraphics1 = new QDGraphics(localQDRect);
/* 174 */       localQDGraphics2 = new QDGraphics(8, localQDRect);
View Full Code Here

Examples of quicktime.qd.PixMap

/*     */
/*     */   /** @deprecated */
/*     */   public static ImagePresenter fromGWorld(QDGraphics paramQDGraphics)
/*     */     throws QTException
/*     */   {
/* 108 */     PixMap localPixMap = paramQDGraphics.getPixMap();
/* 109 */     return new ImagePresenter(localPixMap.getPixelData(), new ImageDescription(localPixMap));
/*     */   }
View Full Code Here

Examples of quicktime.qd.PixMap

/*     */         try {
/* 231 */           QDGraphics localQDGraphics = new QDGraphics(new QDRect(paramImageDescription.getWidth(), paramImageDescription.getHeight()));
/* 232 */           DSequence localDSequence = new DSequence(paramImageDescription, localQDGraphics, null, null, null, 0, 768, CodecComponent.anyCodec);
/*     */
/* 240 */           localDSequence.decompressFrameS(paramEncodedImage, 0);
/* 241 */           PixMap localPixMap = localQDGraphics.getPixMap();
/* 242 */           this.mImageDescription = new ImageDescription(localPixMap);
/* 243 */           paramEncodedImage = localPixMap.getPixelData();
/*     */         } catch (QTException localQTException) {
/* 245 */           this.mImageDescription = paramImageDescription;
/*     */         } finally {
/* 247 */           if (localObject1 != null) localObject1.reset();
/*     */         }
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.