//
// Clip class for PTC 2.0 C++ API
// Copyright (c) 1998 Glenn Fiedler (ptc@gaffer.org)
// This source code is licensed under the GNU LGPL
//

#ifndef __PTC_CLIP_H
#define __PTC_CLIP_H

// include files
#include "Index.h"




class Clip
{
    public:

        // clip a single area against clipping area
        static Area clip(const Area &clip,const Area &area);

        // clip source and destination areas against source and destination clipping areas
        static void clip(const Area &clip_source,const Area &source,Area &clipped_source,
                         const Area &clip_destination,const Area &destination,Area &clipped_destination);
};




#endif
