udPDFPageObjectLine Class Reference

Class implements pdf line object. More...

#include <PDFgraphing.h>

Inheritance diagram for udPDFPageObjectLine:

PDFPageObject udPDFPageObjectHorizLine udPDFPageObjectVertLine

List of all members.

Public Member Functions

 udPDFPageObjectLine (double x1, double y1, double x2, double y2, double gc=0, bool d=false)
 Constructor for pdf line object.
void write (ostream &os)

Private Attributes

double theX1
double theY1
double theX2
double theY2
double gray_color
bool dashed


Detailed Description

Class implements pdf line object.

Definition at line 148 of file PDFgraphing.h.


Constructor & Destructor Documentation

udPDFPageObjectLine::udPDFPageObjectLine ( double  x1,
double  y1,
double  x2,
double  y2,
double  gc = 0,
bool  d = false 
) [inline]

Constructor for pdf line object.

Parameters:
x1,y1,x2,y2 - coordinates of the two endpoints of a line
gc - gray scale intensity (0 - black, 1 - white)
d - if true than a dashed line is drawn

Definition at line 163 of file PDFgraphing.h.


Member Function Documentation

void udPDFPageObjectLine::write ( ostream &  os  )  [virtual]

Reimplemented from PDFPageObject.


Member Data Documentation

double udPDFPageObjectLine::theX1 [private]

Definition at line 183 of file PDFgraphing.h.

double udPDFPageObjectLine::theY1 [private]

Definition at line 183 of file PDFgraphing.h.

double udPDFPageObjectLine::theX2 [private]

Definition at line 184 of file PDFgraphing.h.

double udPDFPageObjectLine::theY2 [private]

Definition at line 184 of file PDFgraphing.h.

Definition at line 185 of file PDFgraphing.h.

Definition at line 186 of file PDFgraphing.h.


The documentation for this class was generated from the following file:

Generated on Mon Mar 2 17:58:50 2009 for CRyptography And Groups (CRAG) by  doxygen 1.5.6