casa
$Rev:20696$
|
PSInfo is used to supply comment fields for the PostScript header and other information that needs to be available when the PSDriver object is created. More...
#include <PSDriver.h>
Public Member Functions | |
PSInfo () | |
~PSInfo () | |
void | Creator (const char *) |
void | Creator (const String &) |
const String & | Creator () const |
void | For (const char *) |
void | For (const String &) |
const String & | For () const |
void | Title (const char *) |
void | Title (const String &) |
const String & | Title () const |
void | Comment (const String &) |
void | Comment (const char *) |
const String & | Comment () const |
void | setMargins (const float lm, const float rm, const float tm, const float bm, const Dimension dim=PSDriver::INCHES) |
Bool | getMargins (float &lm, float &rm, float &tm, float &bm) |
If setMargins has been called, returns True and the margin values. | |
Private Attributes | |
String | for_ |
String | title_ |
String | creator_ |
String | comment_ |
float | lm_ |
float | rm_ |
float | tm_ |
float | bm_ |
Bool | haveMargins_ |
PSInfo is used to supply comment fields for the PostScript header and other information that needs to be available when the PSDriver object is created.
Its use is optional.
Definition at line 161 of file PSDriver.h.
void casa::PSDriver::PSInfo::Comment | ( | const String & | ) |
void casa::PSDriver::PSInfo::Comment | ( | const char * | ) |
const String& casa::PSDriver::PSInfo::Comment | ( | ) | const [inline] |
Definition at line 176 of file PSDriver.h.
References comment_.
void casa::PSDriver::PSInfo::Creator | ( | const char * | ) |
void casa::PSDriver::PSInfo::Creator | ( | const String & | ) |
const String& casa::PSDriver::PSInfo::Creator | ( | ) | const [inline] |
Definition at line 167 of file PSDriver.h.
References creator_.
void casa::PSDriver::PSInfo::For | ( | const char * | ) |
void casa::PSDriver::PSInfo::For | ( | const String & | ) |
const String& casa::PSDriver::PSInfo::For | ( | ) | const [inline] |
Definition at line 170 of file PSDriver.h.
References for_.
Bool casa::PSDriver::PSInfo::getMargins | ( | float & | lm, |
float & | rm, | ||
float & | tm, | ||
float & | bm | ||
) |
If setMargins has been called, returns True and the margin values.
Otherwise, returns False and does not change the arguments.
void casa::PSDriver::PSInfo::setMargins | ( | const float | lm, |
const float | rm, | ||
const float | tm, | ||
const float | bm, | ||
const Dimension | dim = PSDriver::INCHES |
||
) |
void casa::PSDriver::PSInfo::Title | ( | const char * | ) |
void casa::PSDriver::PSInfo::Title | ( | const String & | ) |
const String& casa::PSDriver::PSInfo::Title | ( | ) | const [inline] |
Definition at line 173 of file PSDriver.h.
References title_.
float casa::PSDriver::PSInfo::bm_ [private] |
Definition at line 191 of file PSDriver.h.
String casa::PSDriver::PSInfo::comment_ [private] |
Definition at line 190 of file PSDriver.h.
Referenced by Comment().
String casa::PSDriver::PSInfo::creator_ [private] |
Definition at line 189 of file PSDriver.h.
Referenced by Creator().
String casa::PSDriver::PSInfo::for_ [private] |
Definition at line 187 of file PSDriver.h.
Referenced by For().
Bool casa::PSDriver::PSInfo::haveMargins_ [private] |
Definition at line 192 of file PSDriver.h.
float casa::PSDriver::PSInfo::lm_ [private] |
Definition at line 191 of file PSDriver.h.
float casa::PSDriver::PSInfo::rm_ [private] |
Definition at line 191 of file PSDriver.h.
String casa::PSDriver::PSInfo::title_ [private] |
Definition at line 188 of file PSDriver.h.
Referenced by Title().
float casa::PSDriver::PSInfo::tm_ [private] |
Definition at line 191 of file PSDriver.h.