/***************************************************************************
                            qt_QPointArray.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_QPOINTARRAY
#define QT_QPOINTARRAY

#include <qtc/qtc_types.h>

/**

* $Id: qt_QPointArray.h,v 1.2 2001/11/21 23:26:17 rdale Exp $
*
* Definition of QPolygonScanner class
*
* Created : 000120
*
* Copyright (C) 1999-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/qpolygonscanner.
*/
qt_QPointArray * qt_new_QPointArray();
void qt_del_QPointArray( qt_QPointArray* p );
qt_QPointArray * qt_new_QPointArray3(qt_QRect* r, int closed);
qt_QPointArray * qt_new_QPointArray4(int nPoints, short * points);
qt_QPointArray* qt_QPointArray_copy(qt_QPointArray* instPointer);
void qt_QPointArray_translate(qt_QPointArray* instPointer,int dx, int dy);
qt_QRect* qt_QPointArray_boundingRect(qt_QPointArray* instPointer);
void qt_QPointArray_point(qt_QPointArray* instPointer,unsigned int i, int* x, int* y);
qt_QPoint* qt_QPointArray_point1(qt_QPointArray* instPointer,unsigned int i);
void qt_QPointArray_setPoint(qt_QPointArray* instPointer,unsigned int i, int x, int y);
void qt_QPointArray_setPoint1(qt_QPointArray* instPointer,unsigned int i, qt_QPoint* p);
int qt_QPointArray_setPoints(qt_QPointArray* instPointer,int nPoints, short * points);
int qt_QPointArray_putPoints(qt_QPointArray* instPointer,int index, int nPoints, short * points);
int qt_QPointArray_putPoints2(qt_QPointArray* instPointer,int index, int nPoints, qt_QPointArray* from, int fromIndex);
void qt_QPointArray_makeArc(qt_QPointArray* instPointer,int x, int y, int w, int h, int a1, int a2);
void qt_QPointArray_makeEllipse(qt_QPointArray* instPointer,int x, int y, int w, int h);
void qt_QPointArray_makeArc1(qt_QPointArray* instPointer,int x, int y, int w, int h, int a1, int a2, qt_QWMatrix * arg1);
qt_QPointArray* qt_QPointArray_cubicBezier(qt_QPointArray* instPointer);
void* qt_QPointArray_shortPoints(qt_QPointArray* instPointer,int index, int nPoints);
void qt_QPointArray_cleanBuffers( );
unsigned int qt_QPointArray_count(qt_QPointArray* instPointer);
qt_QPoint * qt_QPointArray_at(qt_QPointArray* instPointer,unsigned int i);

#endif
