Examples of XFreeGC()


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

                        return x11.XFillRectangle(dpy, pm, gc, x, y, w, h) != 0;
                    }
                });
            }
            finally {
                x11.XFreeGC(dpy, gc);
            }
            return pm;
        }

        private boolean didCheck;
View Full Code Here

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

                    }
                    x11.XCopyArea(dpy, pixmap, win, gc, 0, 0, w, h, 0, 0);
                }
                finally {
                    if (gc != null)
                        x11.XFreeGC(dpy, gc);
                }
            }
        }
        finally {
            if (dpy != null)
View Full Code Here

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

                final int UNMASKED = 1;
                x11.XSetForeground(dpy, gc, new NativeLong(UNMASKED));
                x11.XFillRectangles(dpy, pm, gc, rects, rects.length);
            }
            finally {
                x11.XFreeGC(dpy, gc);
            }
            return pm;
        }

        private boolean didCheck;
View Full Code Here

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

                    x11.XFree(image.getPointer());
                    putImageTime = System.currentTimeMillis();
                }
                finally {
                    if (gc != null)
                        x11.XFreeGC(dpy, gc);
                }
                long end = System.currentTimeMillis();
                //System.out.println("gc: " + (gcTime-start) + "ms");
                //System.out.println("blit: " + (blitTime-gcTime) + "ms");
                //System.out.println("write: " + (write-blitTime) + "ms");
View Full Code Here

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

                offset.x += bounds.x;
                offset.y += bounds.y;
                x11.XPutImage(dpy, win, gc, image, 0, 0, offset.x, offset.y, w, h);

                x11.XFree(image.getPointer());
                x11.XFreeGC(dpy, gc);
                x11.XCloseDisplay(dpy);
            }
        }

        public void setWindowTransparent(final Window w,
View Full Code Here

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

                final int UNMASKED = 1;
                x11.XSetForeground(dpy, gc, new NativeLong(UNMASKED));
                x11.XFillRectangles(dpy, pm, gc, rects, rects.length);
            }
            finally {
                x11.XFreeGC(dpy, gc);
            }
            return pm;
        }

        private boolean didCheck;
View Full Code Here

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

          Rectangle rect = rectangles[i];
          x11.XFillRectangle(dpy, pm, gc, rect.x, rect.y, rect.width,
              rect.height);
        }
      } finally {
        x11.XFreeGC(dpy, gc);
      }
      return pm;
    }

    @Override
View Full Code Here

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

                offset.x += bounds.x;
                offset.y += bounds.y;
                x11.XPutImage(dpy, win, gc, image, 0, 0, offset.x, offset.y, w, h);

                x11.XFree(image.getPointer());
                x11.XFreeGC(dpy, gc);
                x11.XCloseDisplay(dpy);
            }
        }

        @Override
View Full Code Here

Examples of com.sun.jna.platform.unix.X11.XFreeGC()

                final int UNMASKED = 1;
                x11.XSetForeground(dpy, gc, new NativeLong(UNMASKED));
                x11.XFillRectangles(dpy, pm, gc, rects, rects.length);
            }
            finally {
                x11.XFreeGC(dpy, gc);
            }
            return pm;
        }

        private boolean didCheck;
View Full Code Here

Examples of com.sun.jna.platform.unix.X11.XFreeGC()

                offset.x += bounds.x;
                offset.y += bounds.y;
                x11.XPutImage(dpy, win, gc, image, 0, 0, offset.x, offset.y, w, h);

                x11.XFree(image.getPointer());
                x11.XFreeGC(dpy, gc);
                x11.XCloseDisplay(dpy);
            }
        }

        public void setWindowTransparent(final Window w,
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.