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

Line Class Reference

#include <Line.h>

List of all members.

Public Member Functions

 Line (Point s=0, Point e=0, QColor c=QColor("black"), int w=1, Arrow sa=0, Arrow ea=0)
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 Width ()
QColor Color ()
Arrow startArrow ()
Arrow endArrow ()
void draw (QPainter *p, double w, double h)
bool inside (int x, int y, int w, int h)

Protected Attributes

Point start
Point end
QColor color
int width
Arrow sarrow
Arrow earrow


Constructor & Destructor Documentation

Line::Line (  Point  s = 0,
Point  e = 0,
QColor  c = QColor("black"),
int  w = 1,
Arrow  sa = 0,
Arrow  ea = 0
) 
 


Member Function Documentation

QColor Line::Color (   )  [inline]
 

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

Arrow Line::endArrow (   )  [inline]
 

Point Line::endPoint (   )  [inline]
 

QStringList Line::Info (   ) 
 

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

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

void Line::save (  QTextStream *  t  ) 
 

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

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

Arrow Line::startArrow (   )  [inline]
 

Point Line::startPoint (   )  [inline]
 

int Line::Width (   )  [inline]
 


Member Data Documentation

QColor Line::color [protected]
 

Arrow Line::earrow [protected]
 

Point Line::end [protected]
 

Arrow Line::sarrow [protected]
 

Point Line::start [protected]
 

int Line::width [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 28 22:31:17 2004 for LabPlot by doxygen 1.3.6