3909N/A * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A * This include file contains support declarations for loops using the 0N/A * X11 extended SurfaceData interface to talk to an X11 drawable from 0N/A * This function returns an X11 Drawable which transparent pixels 0N/A * (if there are any) were set to the specified color. 0N/A * The env parameter should be the JNIEnv of the surrounding JNI context. 0N/A * The xsdo parameter should be a pointer to the ops object upon which 0N/A * this function is being invoked. 0N/A * The pixel parameter should be a color to which the transparent 0N/A * pixels of the image should be se set to. 0N/A * This function releases the lock set by GetPixmapBg 0N/A * function of the indicated X11SDOps structure. 0N/A * The env parameter should be the JNIEnv of the surrounding JNI context. 0N/A * The ops parameter should be a pointer to the ops object upon which 0N/A * this function is being invoked. 0N/A#
endif /* !HEADLESS */ 0N/A * This function returns a pointer to a native X11SDOps structure 0N/A * for accessing the indicated X11 SurfaceData Java object. It 0N/A * verifies that the indicated SurfaceData object is an instance 0N/A * of X11SurfaceData before returning and will return NULL if the 0N/A * wrong SurfaceData object is being accessed. This function will 0N/A * throw the appropriate Java exception if it returns NULL so that 0N/A * the caller can simply return. 0N/A * This function uses JNI methods so it is important that the 0N/A * caller not have any outstanding GetPrimitiveArrayCritical or 0N/A * GetStringCritical locks which have not been released. 0N/A * The caller may continue to use JNI methods after this method 0N/A * is called since this function will not leave any outstanding 0N/A * JNI Critical locks unreleased.