img_opaque.h revision 0
1178N/A * Copyright 1996 Sun Microsystems, Inc. All Rights Reserved. 1178N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1178N/A * This code is free software; you can redistribute it and/or modify it 1178N/A * under the terms of the GNU General Public License version 2 only, as 1178N/A * published by the Free Software Foundation. Sun designates this 1178N/A * particular file as subject to the "Classpath" exception as provided 1178N/A * by Sun in the LICENSE file that accompanied this code. 1178N/A * This code is distributed in the hope that it will be useful, but WITHOUT 1178N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1178N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1178N/A * version 2 for more details (a copy is included in the LICENSE file that 1178N/A * You should have received a copy of the GNU General Public License version 1178N/A * 2 along with this work; if not, write to the Free Software Foundation, 1178N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1178N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 1178N/A * CA 95054 USA or visit www.sun.com if you need additional information or 1178N/A * This file contains macro definitions for the Alpha category of the 1178N/A * macros used by the generic scaleloop function. 1178N/A * This implementation of the Alpha macros will ignore all alpha 1178N/A * information. It also provides an empty expansion of the IfAlpha 1178N/A * macro which keeps the other macro sets in the image package from 1178N/A * wasting time and space on code to fetch or store the alpha 1178N/A * information. This file is only applicable when the incoming 1178N/A * data is known to be entirely opaque and there is not yet any 1178N/A * image mask or alpha buffer associated with the output data. 1178N/A * The macro IfAlpha is used by the varous pixel conversion macros 1178N/A * to conditionally compile code that is only needed if alpha values