MCPcopy Index your code
hub / github.com/processing/processing / backgroundFromCalc

Method backgroundFromCalc

core/src/processing/core/PGraphics.java:7436–7451  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 /**

Callers 1

backgroundMethod · 0.95

Calls 1

backgroundImplMethod · 0.95

Tested by

no test coverage detected