MCPcopy Index your code
hub / github.com/benfry/processing4 / backgroundFromCalc

Method backgroundFromCalc

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

Source from the content-addressed store, hash-verified

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

Callers 1

backgroundMethod · 0.95

Calls 1

backgroundImplMethod · 0.95

Tested by

no test coverage detected