src/java.desktop/share/classes/java/awt/AlphaComposite.java

Print this page

        

*** 302,312 **** * to the value 0xff in an 8-bit storage format.) * * <p> * Alternately, an implementation that uses floating point math * might produce more accurate results and end up returning to the ! * original pixel value with little, if any, roundoff error. * Or, an implementation using integer math might decide that since * the equations boil down to a virtual NOP on the color values * if performed in a floating point space, it can transfer the * pixel untouched to the destination and avoid all the math entirely. * --- 302,312 ---- * to the value 0xff in an 8-bit storage format.) * * <p> * Alternately, an implementation that uses floating point math * might produce more accurate results and end up returning to the ! * original pixel value with little, if any, round-off error. * Or, an implementation using integer math might decide that since * the equations boil down to a virtual NOP on the color values * if performed in a floating point space, it can transfer the * pixel untouched to the destination and avoid all the math entirely. *