// Returns coordinates for images with position, width and height scaled proportional to the screen // Public for testing, but could be made private func AdjustScaleDimensions(oldInitial, oldPos, oldDimensions, oldWindowSize, newWindowSize *coords.Vec) (*coords.Vec, *coords.Vec, *coords.Vec) { return oldInitial.Rescale(oldWindowSize, newWindowSize), oldPos.Rescale(oldWindowSize, newWindowSize), oldDimensions.Rescale(oldWindowSize, newWindowSize) }