#include <PSImageBase.hpp>
Inheritance diagram for PSImageBase:


Definition at line 48 of file PSImageBase.hpp.
Public Member Functions | |
| PSImageBase (std::ostream &stream, double width=US_LETTER_WIDTH_PTS, double height=US_LETTER_HEIGHT_PTS, ORIGIN_LOCATION iloc=LOWER_LEFT) | |
| Create a Postscript output stream attached to an existing stream. | |
| PSImageBase (const char *fname, double width=US_LETTER_WIDTH_PTS, double height=US_LETTER_HEIGHT_PTS, ORIGIN_LOCATION iloc=LOWER_LEFT) | |
| Create a Postscript output stream attached to an existing stream. | |
| ~PSImageBase (void) | |
| Destructor. | |
| void | setMarker (const Marker &newMarker) |
| void | comment (const Comment &comment) |
| void | line (const Line &line) |
| void | rectangle (const Rectangle &rect) |
| void | circle (const Circle &circle) |
| void | polygon (const Polygon &polygon) |
| void | bitmap (const Bitmap &bitmap) |
| void | text (const Text &text) |
Protected Attributes | |
| std::ofstream | myfstream |
| When writing to a file, this is used to set ostr. | |
| std::ostream & | ostr |
| The stream to write to. | |
| std::string | filename |
| Remember the output file name. | |
| StrokeStyle | lastUsedStrokeStyle |
| Postscript uses one color at a time. | |
| TextStyle | lastUsedTextStyle |
| Last text style used. | |
|
||||||||||||||||||||
|
Create a Postscript output stream attached to an existing stream.
Definition at line 39 of file PSImageBase.cpp. |
|
||||||||||||||||||||
|
Create a Postscript output stream attached to an existing stream.
Definition at line 51 of file PSImageBase.cpp. |
|
|
Destructor.
Definition at line 63 of file PSImageBase.cpp. |
|
|
Definition at line 364 of file PSImageBase.cpp. References Bitmap::boxes, comment(), InterpolatedColorMap::get(), ColorMap::get(), Bitmap::getCM(), ColorMap::getCols(), InterpolatedColorMap::getCols(), Bitmap::getICM(), Color::getRGB(), ColorMap::getRows(), InterpolatedColorMap::getRows(), Bitmap::osc, Bitmap::osr, ostr, Bitmap::x1, Bitmap::x2, Bitmap::y1, and Bitmap::y2. |
|
|
Definition at line 300 of file PSImageBase.cpp. References comment(), ostr, Circle::radius, Circle::xc, and Circle::yc. |
|
|
Definition at line 77 of file PSImageBase.cpp. References ostr, and Comment::str. Referenced by bitmap(), circle(), polygon(), rectangle(), and text(). |
|
|
Definition at line 157 of file PSImageBase.cpp. References Marker::getColor(), Markable::getMarker(), Color::getRGBTripletFractional(), and ostr. |
|
|
Definition at line 334 of file PSImageBase.cpp. |
|
|
Definition at line 265 of file PSImageBase.cpp. References comment(), ostr, Rectangle::x1, Rectangle::x2, Rectangle::y1, and Rectangle::y2. |
|
|
Definition at line 79 of file PSImageBase.hpp. |
|
|
Definition at line 439 of file PSImageBase.cpp. References comment(), Text::getAngle(), TextStyle::getColor(), Color::getRGBTripletFractional(), Text::getString(), Text::isCenter(), Text::isRight(), lastUsedTextStyle, ostr, Text::x, and Text::y. |
|
|
Remember the output file name.
Definition at line 109 of file PSImageBase.hpp. |
|
|
Postscript uses one color at a time. It doesn't use separate colors for edges, lines or shapes. Definition at line 115 of file PSImageBase.hpp. |
|
|
Last text style used.
Definition at line 118 of file PSImageBase.hpp. Referenced by text(). |
|
|
When writing to a file, this is used to set ostr.
Definition at line 103 of file PSImageBase.hpp. |
|
|
The stream to write to.
Definition at line 106 of file PSImageBase.hpp. Referenced by bitmap(), circle(), comment(), line(), polygon(), rectangle(), and text(). |
1.3.9.1