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

Method scissor

core/src/processing/opengl/PJOGL.java:1755–1760  ·  view source on GitHub ↗
(int x, int y, int w, int h)

Source from the content-addressed store, hash-verified

1753 // Per-Fragment Operations
1754
1755 @Override
1756 public void scissor(int x, int y, int w, int h) {
1757 float scale = getPixelScale();
1758 gl.glScissor((int)scale * x, (int)(scale * y), (int)(scale * w), (int)(scale * h));
1759// gl.glScissor(x, y, w, h);
1760 }
1761
1762 @Override
1763 public void sampleCoverage(float value, boolean invert) {

Callers

nothing calls this directly

Calls 1

getPixelScaleMethod · 0.95

Tested by

no test coverage detected