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

Rect Class Reference

#include <Rect.h>

List of all members.

Public Member Functions

 Rect (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

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


Member Function Documentation

void Rect::draw QPainter *  p,
double  w,
double  h
 

Point Rect::endPoint  )  [inline]
 

QColor Rect::getColor  )  [inline]
 

QColor Rect::getFillColor  )  [inline]
 

int Rect::getWidth  )  [inline]
 

QStringList Rect::Info  ) 
 

bool Rect::inside int  x,
int  y,
int  w,
int  h
 

bool Rect::isFilled  )  [inline]
 

void Rect::open QTextStream *  t,
int  version
 

void Rect::save QTextStream *  t  ) 
 

void Rect::setEndPoint double  x,
double  y
[inline]
 

void Rect::setStartPoint double  x,
double  y
[inline]
 

Point Rect::startPoint  )  [inline]
 


Member Data Documentation

QColor Rect::color [protected]
 

Point Rect::end [protected]
 

QColor Rect::fill [protected]
 

bool Rect::filled [protected]
 

Point Rect::start [protected]
 

int Rect::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