Examples of XCopyArea()


Examples of com.sun.jna.examples.unix.X11.XCopyArea()

                            int blue = (pixel[0]&0xFF)<<16;
                            x11.XSetForeground(dpy, gc, new NativeLong(alpha|red|green|blue));
                            x11.XFillRectangle(dpy, pixmap, gc, x, h-y-1, 1, 1);
                        }
                    }
                    x11.XCopyArea(dpy, pixmap, win, gc, 0, 0, w, h, 0, 0);
                }
                finally {
                    if (gc != null)
                        x11.XFreeGC(dpy, gc);
                }
View Full Code Here

Examples of org.apache.harmony.awt.nativebridge.linux.X11.XCopyArea()

                // Get translated clip
                makeClip(dstX, dstY, width, height, clip);

                g2d.setXClip(clip, g2d.imageGC);
                X11 x11 = X11.getInstance();
                x11.XCopyArea(
                        g2d.display,
                        xSrcSurf.g2d.drawable, g2d.drawable,
                        g2d.imageGC,
                        srcX, srcY,
                        width, height,
View Full Code Here

Examples of org.apache.harmony.awt.nativebridge.linux.X11.XCopyArea()

                // Get translated clip
                makeClip(dstX, dstY, width, height, clip);

                g2d.setXClip(clip, g2d.imageGC);
                X11 x11 = X11.getInstance();
                x11.XCopyArea(
                        g2d.display,
                        xSrcSurf.g2d.drawable, g2d.drawable,
                        g2d.imageGC,
                        srcX, srcY,
                        width, height,
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.