()
| 7434 | |
| 7435 | |
| 7436 | protected void backgroundFromCalc() { |
| 7437 | backgroundR = calcR; |
| 7438 | backgroundG = calcG; |
| 7439 | backgroundB = calcB; |
| 7440 | //backgroundA = (format == RGB) ? colorModeA : calcA; |
| 7441 | // If drawing surface is opaque, this maxes out at 1.0. [fry 150513] |
| 7442 | backgroundA = (format == RGB) ? 1 : calcA; |
| 7443 | backgroundRi = calcRi; |
| 7444 | backgroundGi = calcGi; |
| 7445 | backgroundBi = calcBi; |
| 7446 | backgroundAi = (format == RGB) ? 255 : calcAi; |
| 7447 | backgroundAlpha = (format == RGB) ? false : calcAlpha; |
| 7448 | backgroundColor = calcColor; |
| 7449 | |
| 7450 | backgroundImpl(); |
| 7451 | } |
| 7452 | |
| 7453 | |
| 7454 | /** |
no test coverage detected