/***************************************************************************
                            qt_QRegion.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QREGION
#define QT_QREGION

#include <qtc/qtc_types.h>

/**

* $Id: qt_QRegion.h,v 1.2 2001/11/21 23:26:17 rdale Exp $
*
* Definition of QRegion class
*
* Created : 940514
*
* Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
*
* This file is part of the kernel module of the Qt GUI Toolkit.
*
* This file may be distributed under the terms of the Q Public License
* as defined by Trolltech AS of Norway and appearing in the file
* LICENSE.QPL included in the packaging of this file.
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation and appearing in the file LICENSE.GPL included in the
* packaging of this file.
*
* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
* licenses may use this file in accordance with the Qt Commercial License
* Agreement provided with the Software.
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
*   information about Qt Commercial License Agreements.
* See http://www.trolltech.com/qpl/ for QPL licensing information.
* See http://www.trolltech.com/gpl/ for GPL licensing information.
*
* Contact info@trolltech.com if any conditions of this licensing are
* not clear to you.
*
********************************************************************
 @short 
* $Id:  qt/qregion.
*/
#define QREGION_Rectangle	0
#define QREGION_Ellipse	1
qt_QRegion * qt_new_QRegion();
qt_QRegion * qt_new_QRegion1(int x, int y, int w, int h, int arg1);
qt_QRegion * qt_new_QRegion2(qt_QRect* arg1, int arg2);
qt_QRegion * qt_new_QRegion3(qt_QPointArray* arg1, int winding);
qt_QRegion * qt_new_QRegion4(qt_QRegion * arg1);
qt_QRegion * qt_new_QRegion5(qt_QBitmap * arg1);
void qt_del_QRegion( qt_QRegion* p );
int qt_QRegion_isNull(qt_QRegion* instPointer);
int qt_QRegion_isEmpty(qt_QRegion* instPointer);
int qt_QRegion_contains(qt_QRegion* instPointer,qt_QPoint* p);
int qt_QRegion_contains1(qt_QRegion* instPointer,qt_QRect* r);
void qt_QRegion_translate(qt_QRegion* instPointer,int dx, int dy);
qt_QRegion * qt_QRegion_unite(qt_QRegion* instPointer,qt_QRegion * arg1);
qt_QRegion * qt_QRegion_intersect(qt_QRegion* instPointer,qt_QRegion * arg1);
qt_QRegion * qt_QRegion_subtract(qt_QRegion* instPointer,qt_QRegion * arg1);
qt_QRegion * qt_QRegion_eor(qt_QRegion* instPointer,qt_QRegion * arg1);
qt_QRect* qt_QRegion_boundingRect(qt_QRegion* instPointer);
void qt_QRegion_setRects(qt_QRegion* instPointer,qt_QRect* arg1, int arg2);
void * qt_QRegion_handle(qt_QRegion* instPointer);
int qt_QRegion_handle1(qt_QRegion* instPointer);
//RgnHandle qt_QRegion_handle2(qt_QRegion* instPointer,int require_rgn);
void* qt_QRegion_handle3(qt_QRegion* instPointer);

#endif
