resize method

void resize(
  1. int oldWidth,
  2. int oldHeight,
  3. int newWidth,
  4. int newHeight,
)

Implementation

void resize(int oldWidth, int oldHeight, int newWidth, int newHeight) {
  _resizeViewport(oldWidth, oldHeight, newWidth, newHeight);
}