Class implements pdf line object. More...
#include <PDFgraphing.h>
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 |
Class implements pdf line object.
Definition at line 148 of file PDFgraphing.h.
udPDFPageObjectLine::udPDFPageObjectLine | ( | double | x1, | |
double | y1, | |||
double | x2, | |||
double | y2, | |||
double | gc = 0 , |
|||
bool | d = false | |||
) | [inline] |
Constructor for pdf line object.
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.
void udPDFPageObjectLine::write | ( | ostream & | os | ) | [virtual] |
Reimplemented from PDFPageObject.
bool udPDFPageObjectLine::dashed [private] |
Definition at line 186 of file PDFgraphing.h.
double udPDFPageObjectLine::gray_color [private] |
Definition at line 185 of file PDFgraphing.h.
double udPDFPageObjectLine::theX1 [private] |
Definition at line 183 of file PDFgraphing.h.
double udPDFPageObjectLine::theX2 [private] |
Definition at line 184 of file PDFgraphing.h.
double udPDFPageObjectLine::theY1 [private] |
Definition at line 183 of file PDFgraphing.h.
double udPDFPageObjectLine::theY2 [private] |
Definition at line 184 of file PDFgraphing.h.