|
Public Types |
enum | { BOLD = 10
} |
Public Member Functions |
| mdp_postscript (char filename[]) |
FILE * | open (char filename[]) |
void | close () |
void | size (float x0, float y0, float x1, float y1) |
void | line (float x0, float y0, float x1, float y1) |
void | box (float x0, float y0, float x1, float y1, int fill=0) |
void | arc (float x0, float y0, float r, float alpha, float beta) |
void | circle (float x0, float y0, float r, int fill=0) |
void | pen (float size) |
void | color (float r, float g, float b) |
void | font (const char *text, int size) |
void | print (float x0, float y0, char text[]) |
Public Attributes |
FILE * | fp |
float | X0 |
float | Y0 |
float | Z0 |
float | X1 |
float | Y1 |
float | Z1 |
float | c0 |
float | c1 |
float | c2 |
float | scale |
float | alpha |
mdp_postscript ps("test.ps");
ps.color(0.2,0.2,0.7);
ps.line(0,0, 5,5);
ps.print(5,5,"a line from (0,0) to here");