// Rect return a rectangle representing the position and dimensions of the region on the output // image. func (br *bigRegion) rect(base *bigbase.BigBaseNumerics) image.Rectangle { l, t := base.PlaneToPixel(br.topLeft.C) r, b := base.PlaneToPixel(br.bottomRight.C) return image.Rect(l, t, r, b) }