def scale(cam_file, x_scale, y_scale):
    """ Scale a Cam file by a specified amount in the X and Y directions.

    Parameters
    ----------
    cam_file : :class:`gerber.cam.CamFile` subclass
        Gerber or Excellon file to scale

    x_scale : float
        X-axis scale factor

    y_scale : float
        Y-axis scale factor

    Returns
    -------
    cam_file : :class:`gerber.cam.CamFile` subclass
        An scaled deep copy of the source file.
    """
    pass
