AdjustAspect method

void AdjustAspect(
  1. int w,
  2. int h
)

Implementation

void AdjustAspect(int w, int h) {
  double a = w / h;

  if (_aspect == a) return;
  _aspect = a;
  Update();
}