--- old/src/java.desktop/share/classes/java/awt/AlphaComposite.java 2017-09-03 00:46:37.000000000 -0700 +++ new/src/java.desktop/share/classes/java/awt/AlphaComposite.java 2017-09-03 00:46:36.000000000 -0700 @@ -72,22 +72,40 @@ * The following factors are used in the description of the blending * equation in the Porter and Duff paper: * - *
- * + *
* - * + * + * + * + * + * + * + * + * + * + * + * + * *
Factors
Factor  Definition - *
Asthe alpha component of the source pixel - *
Csa color component of the source pixel in premultiplied form - *
Adthe alpha component of the destination pixel - *
Cda color component of the destination pixel in premultiplied form - *
Fsthe fraction of the source pixel that contributes to the output - *
Fdthe fraction of the destination pixel that contributes - * to the output - *
Arthe alpha component of the result - *
Cra color component of the result in premultiplied form + *
Factor + * Definition + *
As + * the alpha component of the source pixel + *
Cs + * a color component of the source pixel in premultiplied form + *
Ad + * the alpha component of the destination pixel + *
Cd + * a color component of the destination pixel in premultiplied form + *
Fs + * the fraction of the source pixel that contributes to the output + *
Fd + * the fraction of the destination pixel that contributes to the output + *
Ar + * the alpha component of the result + *
Cr + * a color component of the result in premultiplied form + *
- *
- * *

* Using these factors, Porter and Duff define 12 ways of choosing * the blending factors Fs and Fd to @@ -113,19 +131,37 @@ * The following factors will be used to discuss our extensions to * the blending equation in the Porter and Duff paper: * - *

- * + *
* - * + * + * + * + * + * + * + * + * + * + * + * *
Factors
Factor  Definition - *
Csr one of the raw color components of the source pixel - *
Cdr one of the raw color components of the destination pixel - *
Aac the "extra" alpha component from the AlphaComposite instance - *
Asr the raw alpha component of the source pixel - *
Adrthe raw alpha component of the destination pixel - *
Adf the final alpha component stored in the destination - *
Cdf the final raw color component stored in the destination + *
Factor + * Definition + *
Csr + * one of the raw color components of the source pixel + *
Cdr + * one of the raw color components of the destination pixel + *
Aac + * the "extra" alpha component from the AlphaComposite instance + *
Asr + * the raw alpha component of the source pixel + *
Adr + * the raw alpha component of the destination pixel + *
Adf + * the final alpha component stored in the destination + *
Cdf + * the final raw color component stored in the destination + *
- *
* *

Preparing Inputs

*