2362N/A * Copyright (c) 1996, 1997, 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 file contains macro definitions for the Alpha category of the 0N/A * macros used by the generic scaleloop function. 0N/A * This implementation of the Alpha macros will perform an ordered 0N/A * dither of the 8-bit alpha values collected from the input pixel 0N/A * data to construct a 1-bit deep image mask used to control the 0N/A * pixel coverage of the color pixels in the output. This is a 0N/A * minimal quality implementation of Alpha that has the advantage 0N/A * that it is easy to support on a wide variety of platforms and 0N/A * This file can be used to provide the default implementation of the 0N/A * Alpha macros, handling all transparency cases. 0N/A * The macro IfAlpha is used by the varous pixel conversion macros 0N/A * to conditionally compile code that is only needed if alpha values 0N/A * are going to be used.