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