/***************************************************************************
                            qt_QCanvasEllipse.cpp -  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.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "qt_QCanvasEllipse.h"
}

#include <qcanvas.h>

class QCanvasEllipseBridge : public QCanvasEllipse
{
public:
	QCanvasEllipseBridge(QCanvas* canvas) : QCanvasEllipse(canvas) {}
	QCanvasEllipseBridge(int width, int height, QCanvas* canvas) : QCanvasEllipse(width, height, canvas) {}
	QCanvasEllipseBridge(int width, int height, int startangle, int angle, QCanvas* canvas) : QCanvasEllipse(width, height, startangle, angle, canvas) {}
	~QCanvasEllipseBridge() {}
	void protected_drawShape(QPainter& arg1) {
		QCanvasEllipse::drawShape(arg1);
		return;
	}
};

qt_QCanvasEllipse * qt_new_QCanvasEllipse(qt_QCanvas* canvas){
	return (qt_QCanvasEllipse *) new QCanvasEllipseBridge((QCanvas*)canvas);
}
qt_QCanvasEllipse * qt_new_QCanvasEllipse1(int width, int height, qt_QCanvas* canvas){
	return (qt_QCanvasEllipse *) new QCanvasEllipseBridge((int)width, (int)height, (QCanvas*)canvas);
}
qt_QCanvasEllipse * qt_new_QCanvasEllipse2(int width, int height, int startangle, int angle, qt_QCanvas* canvas){
	return (qt_QCanvasEllipse *) new QCanvasEllipseBridge((int)width, (int)height, (int)startangle, (int)angle, (QCanvas*)canvas);
}
void qt_del_QCanvasEllipse( qt_QCanvasEllipse* p ){
	delete (QCanvasEllipseBridge*) p;
}
int qt_QCanvasEllipse_width( qt_QCanvasEllipse* instPointer){
	return (int) ((QCanvasEllipseBridge*)instPointer)->width();
}
int qt_QCanvasEllipse_height( qt_QCanvasEllipse* instPointer){
	return (int) ((QCanvasEllipseBridge*)instPointer)->height();
}
void qt_QCanvasEllipse_setSize( qt_QCanvasEllipse* instPointer,int w, int h){
	((QCanvasEllipseBridge*)instPointer)->setSize((int)w, (int)h);
	return;
}
void qt_QCanvasEllipse_setAngles( qt_QCanvasEllipse* instPointer,int start, int length){
	((QCanvasEllipseBridge*)instPointer)->setAngles((int)start, (int)length);
	return;
}
int qt_QCanvasEllipse_angleStart( qt_QCanvasEllipse* instPointer){
	return (int) ((QCanvasEllipseBridge*)instPointer)->angleStart();
}
int qt_QCanvasEllipse_angleLength( qt_QCanvasEllipse* instPointer){
	return (int) ((QCanvasEllipseBridge*)instPointer)->angleLength();
}
qt_QPointArray* qt_QCanvasEllipse_areaPoints( qt_QCanvasEllipse* instPointer){
	return (qt_QPointArray*)new QPointArray(((QCanvasEllipseBridge*)instPointer)->areaPoints());
}
int qt_QCanvasEllipse_collidesWith( qt_QCanvasEllipse* instPointer,qt_QCanvasItem* arg1){
	return (int) ((QCanvasEllipseBridge*)instPointer)->collidesWith((QCanvasItem*)arg1);
}
int qt_QCanvasEllipse_rtti( qt_QCanvasEllipse* instPointer){
	return (int) ((QCanvasEllipseBridge*)instPointer)->rtti();
}
void qt_QCanvasEllipse_drawShape( qt_QCanvasEllipse* instPointer,qt_QPainter* arg1){
	((QCanvasEllipseBridge*)instPointer)->protected_drawShape((QPainter&)* (QPainter*)arg1);
	return;
}
