/***************************************************************************
                            qt_QCanvasItem.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_QCANVASITEM
#define QT_QCANVASITEM

#include <qtc/qtc_types.h>

#define QCANVASITEM_Rtti_Item	0
#define QCANVASITEM_Rtti_Sprite	1
#define QCANVASITEM_Rtti_PolygonalItem	2
#define QCANVASITEM_Rtti_Text	3
#define QCANVASITEM_Rtti_Polygon	4
#define QCANVASITEM_Rtti_Rectangle	5
#define QCANVASITEM_Rtti_Ellipse	6
#define QCANVASITEM_Rtti_Line	7
#define QCANVASITEM_Rtti_Spline	8
void qt_del_QCanvasItem( qt_QCanvasItem* p );
double qt_QCanvasItem_x(qt_QCanvasItem* instPointer);
double qt_QCanvasItem_y(qt_QCanvasItem* instPointer);
double qt_QCanvasItem_z(qt_QCanvasItem* instPointer);
void qt_QCanvasItem_moveBy(qt_QCanvasItem* instPointer,double dx, double dy);
void qt_QCanvasItem_move(qt_QCanvasItem* instPointer,double x, double y);
void qt_QCanvasItem_setX(qt_QCanvasItem* instPointer,double a);
void qt_QCanvasItem_setY(qt_QCanvasItem* instPointer,double a);
void qt_QCanvasItem_setZ(qt_QCanvasItem* instPointer,double a);
int qt_QCanvasItem_animated(qt_QCanvasItem* instPointer);
void qt_QCanvasItem_setAnimated(qt_QCanvasItem* instPointer,int y);
void qt_QCanvasItem_setVelocity(qt_QCanvasItem* instPointer,double vx, double vy);
void qt_QCanvasItem_setXVelocity(qt_QCanvasItem* instPointer,double vx);
void qt_QCanvasItem_setYVelocity(qt_QCanvasItem* instPointer,double vy);
double qt_QCanvasItem_xVelocity(qt_QCanvasItem* instPointer);
double qt_QCanvasItem_yVelocity(qt_QCanvasItem* instPointer);
void qt_QCanvasItem_advance(qt_QCanvasItem* instPointer,int stage);
int qt_QCanvasItem_collidesWith(qt_QCanvasItem* instPointer,qt_QCanvasItem* arg1);
qt_QCanvasItemList* qt_QCanvasItem_collisions(qt_QCanvasItem* instPointer,int exact);
void qt_QCanvasItem_setCanvas(qt_QCanvasItem* instPointer,qt_QCanvas* arg1);
void qt_QCanvasItem_draw(qt_QCanvasItem* instPointer,qt_QPainter* arg1);
void qt_QCanvasItem_show(qt_QCanvasItem* instPointer);
void qt_QCanvasItem_hide(qt_QCanvasItem* instPointer);
void qt_QCanvasItem_setVisible(qt_QCanvasItem* instPointer,int yes);
int qt_QCanvasItem_isVisible(qt_QCanvasItem* instPointer);
void qt_QCanvasItem_setSelected(qt_QCanvasItem* instPointer,int yes);
int qt_QCanvasItem_isSelected(qt_QCanvasItem* instPointer);
void qt_QCanvasItem_setEnabled(qt_QCanvasItem* instPointer,int yes);
int qt_QCanvasItem_isEnabled(qt_QCanvasItem* instPointer);
void qt_QCanvasItem_setActive(qt_QCanvasItem* instPointer,int yes);
int qt_QCanvasItem_isActive(qt_QCanvasItem* instPointer);
int qt_QCanvasItem_visible(qt_QCanvasItem* instPointer);
int qt_QCanvasItem_selected(qt_QCanvasItem* instPointer);
int qt_QCanvasItem_enabled(qt_QCanvasItem* instPointer);
int qt_QCanvasItem_active(qt_QCanvasItem* instPointer);
int qt_QCanvasItem_rtti(qt_QCanvasItem* instPointer);
qt_QRect* qt_QCanvasItem_boundingRect(qt_QCanvasItem* instPointer);
qt_QRect* qt_QCanvasItem_boundingRectAdvanced(qt_QCanvasItem* instPointer);
qt_QCanvas* qt_QCanvasItem_canvas(qt_QCanvasItem* instPointer);

#endif
