operator / method

GRect operator /(
  1. double scale
)

Divides the GRect object on x, y, width, height by the scale factor.

Implementation

GRect operator /(double scale) {
  x /= scale;
  y /= scale;
  width /= scale;
  height /= scale;
  return this;
}