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

Method viewport

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

Source from the content-addressed store, hash-verified

1238 }
1239
1240 @Override
1241 public void viewport(int x, int y, int w, int h) {
1242 float scale = getPixelScale();
1243 viewportImpl((int)scale * x, (int)(scale * y), (int)(scale * w), (int)(scale * h));
1244 }
1245
1246 @Override
1247 protected void viewportImpl(int x, int y, int w, int h) {

Callers

nothing calls this directly

Calls 2

getPixelScaleMethod · 0.95
viewportImplMethod · 0.95

Tested by

no test coverage detected