Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Ellipse Class Reference

#include <Ellipse.h>

List of all members.

Public Member Functions

 Ellipse (Point s=0, Point e=0, QColor c="black", int w=1, bool f=true, QColor fi="white")
QStringList Info ()
void save (QTextStream *t)
void open (QTextStream *t, int version)
Point startPoint ()
Point endPoint ()
void setStartPoint (double x, double y)
void setEndPoint (double x, double y)
int getWidth ()
QColor getColor ()
QColor getFillColor ()
void draw (QPainter *p, double w, double h)
bool isFilled ()
bool inside (int x, int y, int w, int h)

Protected Attributes

Point start
Point end
QColor color
int width
bool filled
QColor fill


Constructor & Destructor Documentation

Ellipse::Ellipse (  Point  s = 0,
Point  e = 0,
QColor  c = "black",
int  w = 1,
bool  f = true,
QColor  fi = "white"
) 
 


Member Function Documentation

void Ellipse::draw (  QPainter *  p,
double  w,
double  h
) 
 

Point Ellipse::endPoint (   )  [inline]
 

QColor Ellipse::getColor (   )  [inline]
 

QColor Ellipse::getFillColor (   )  [inline]
 

int Ellipse::getWidth (   )  [inline]
 

QStringList Ellipse::Info (   ) 
 

bool Ellipse::inside (  int  x,
int  y,
int  w,
int  h
) 
 

bool Ellipse::isFilled (   )  [inline]
 

void Ellipse::open (  QTextStream *  t,
int  version
) 
 

void Ellipse::save (  QTextStream *  t  ) 
 

void Ellipse::setEndPoint (  double  x,
double  y
)  [inline]
 

void Ellipse::setStartPoint (  double  x,
double  y
)  [inline]
 

Point Ellipse::startPoint (   )  [inline]
 


Member Data Documentation

QColor Ellipse::color [protected]
 

Point Ellipse::end [protected]
 

QColor Ellipse::fill [protected]
 

bool Ellipse::filled [protected]
 

Point Ellipse::start [protected]
 

int Ellipse::width [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Aug 29 14:56:05 2004 for LabPlot by doxygen 1.3.6