Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

canvasshapes.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           canvasshapes.h  -  description
00003                              -------------------
00004     begin                : Tue Jul 30 2002
00005     copyright            : (C) 2002 by Ryan Rusaw
00006     email                : rrusaw@sasktel.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 #ifndef ROUNDEDRECTANGLE_H
00018 #define ROUNDEDRECTANGLE_H
00019 
00024 class CanvasRoundedRectangle : public QCanvasPolygon
00025 {
00026 public:
00036      CanvasRoundedRectangle(int x,int y,int w,int h,int rad, QCanvas *canvas);
00040      ~CanvasRoundedRectangle() { this->hide(); };
00045      int rtti() const;
00050      QPointArray outlinePoints() { return outlinepoints; };
00051 private:
00055      QPointArray outlinepoints;
00056 };
00057 
00062 class CanvasCutEllipse : public QCanvasPolygon
00063 {
00064 public:
00073     CanvasCutEllipse(int w,int h, int startangle, int arc, QCanvas *canvas);
00077      ~CanvasCutEllipse() { this->hide(); };
00082      int rtti() const;
00087      QPointArray outlinePoints() { return outlinepoints; };
00088 private:
00092      QPointArray outlinepoints;
00093 };
00094 
00095 #endif

Generated on Sun Feb 2 21:28:28 2003 for PoqetPresenter by doxygen1.2.18