code: func yInRect(ytest uint, rect Rect) bool {
  	_, y, _, h := RectPieces(rect)
  	return int(ytest) >= y && int(ytest) < (y+h)
  }
docs: // yInRect is whether a particular y-coordinate is horizontally constrained by
  // a rectangle.