casa
5.7.0-16
|
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 casacore::String &) |
const casacore::String & | Creator () const |
void | For (const char *) |
void | For (const casacore::String &) |
const casacore::String & | For () const |
void | Title (const char *) |
void | Title (const casacore::String &) |
const casacore::String & | Title () const |
void | Comment (const casacore::String &) |
void | Comment (const char *) |
const casacore::String & | Comment () const |
void | setMargins (const float lm, const float rm, const float tm, const float bm, const Dimension dim=PSDriver::INCHES) |
casacore::Bool | getMargins (float &lm, float &rm, float &tm, float &bm) |
If setMargins has been called, returns true and the margin values. More... | |
Private Attributes | |
casacore::String | for_ |
casacore::String | title_ |
casacore::String | creator_ |
casacore::String | comment_ |
float | lm_ |
float | rm_ |
float | tm_ |
float | bm_ |
casacore::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 163 of file PSDriver.h.
casa::PSDriver::PSInfo::PSInfo | ( | ) |
casa::PSDriver::PSInfo::~PSInfo | ( | ) |
void casa::PSDriver::PSInfo::Comment | ( | const casacore::String & | ) |
void casa::PSDriver::PSInfo::Comment | ( | const char * | ) |
|
inline |
Definition at line 184 of file PSDriver.h.
References comment_.
void casa::PSDriver::PSInfo::Creator | ( | const char * | ) |
void casa::PSDriver::PSInfo::Creator | ( | const casacore::String & | ) |
|
inline |
Definition at line 169 of file PSDriver.h.
References creator_.
void casa::PSDriver::PSInfo::For | ( | const char * | ) |
void casa::PSDriver::PSInfo::For | ( | const casacore::String & | ) |
|
inline |
Definition at line 174 of file PSDriver.h.
References for_.
casacore::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 casacore::String & | ) |
|
inline |
Definition at line 179 of file PSDriver.h.
References title_.
|
private |
Definition at line 201 of file PSDriver.h.
|
private |
Definition at line 200 of file PSDriver.h.
Referenced by Comment().
|
private |
Definition at line 199 of file PSDriver.h.
Referenced by Creator().
|
private |
Definition at line 197 of file PSDriver.h.
Referenced by For().
|
private |
Definition at line 202 of file PSDriver.h.
|
private |
Definition at line 201 of file PSDriver.h.
|
private |
Definition at line 201 of file PSDriver.h.
|
private |
Definition at line 198 of file PSDriver.h.
Referenced by Title().
|
private |
Definition at line 201 of file PSDriver.h.