#include <Bitmap.hpp>
Collaboration diagram for Bitmap:

The rectangle can have a user defined appearance, specified using a StrokeStyle.
Definition at line 42 of file Bitmap.hpp.
Public Types | |
| enum | CMType { CM, ICM } |
| Declare the enumeration. More... | |
Public Member Functions | |
| Bitmap (double ix1, double iy1, double ix2, double iy2, const ColorMap &c) | |
| Constructor. | |
| Bitmap (double ix1, double iy1, double ix2, double iy2, const InterpolatedColorMap &ic) | |
| Constructor. | |
| Bitmap (const Bitmap &o) | |
| Copy constructor. | |
| ~Bitmap () | |
| Destructor. | |
| bool | getCM (ColorMap *c) const |
| Get the ColorMap and return true if that is what this was initialized with. | |
| bool | getICM (InterpolatedColorMap *c) const |
| Get the InterpolatedColorMap and return true if that is what this was initialized with. | |
| void | oversample (int scale) |
| Oversample such that each color is represented in scale^2 pixels. | |
| void | oversample (int rscale, int cscale) |
| Scaling such that 1 colormap entry = xscale*yscale final image entries in the output image. | |
| void | useBoxes (bool useboxes) |
| Whether or not to just draw boxes. | |
Public Attributes | |
| double | x1 |
| X coordinate of first corner. | |
| double | y1 |
| Y coordinate of first corner. | |
| double | x2 |
| X coordinate of opposite corner. | |
| double | y2 |
| Y coordinate of opposite corner. | |
| int | osr |
| Row overscaling. | |
| int | osc |
| Column overscaling. | |
| bool | boxes |
| Just draw (way too many) boxes? | |
|
|
Declare the enumeration.
Definition at line 47 of file Bitmap.hpp. |
|
||||||||||||||||||||||||
|
Constructor.
|
|
||||||||||||||||||||||||
|
Constructor.
|
|
|
Copy constructor.
|
|
|
Destructor.
Definition at line 96 of file Bitmap.hpp. |
|
|
Get the ColorMap and return true if that is what this was initialized with.
Definition at line 100 of file Bitmap.hpp. Referenced by PSImageBase::bitmap(), and PNG::cost_constant(). |
|
|
Get the InterpolatedColorMap and return true if that is what this was initialized with.
Definition at line 109 of file Bitmap.hpp. Referenced by PSImageBase::bitmap(), PNG::cost_constant(), and PNG::cost_indexed(). |
|
||||||||||||
|
Scaling such that 1 colormap entry = xscale*yscale final image entries in the output image.
Definition at line 125 of file Bitmap.hpp. |
|
|
Oversample such that each color is represented in scale^2 pixels.
Definition at line 117 of file Bitmap.hpp. |
|
|
Whether or not to just draw boxes.
Definition at line 134 of file Bitmap.hpp. |
|
|
Just draw (way too many) boxes?
Definition at line 68 of file Bitmap.hpp. Referenced by SVGImage::bitmap(), and PSImageBase::bitmap(). |
|
|
Column overscaling.
Definition at line 65 of file Bitmap.hpp. Referenced by PSImageBase::bitmap(), PNG::cost_constant(), and PNG::cost_indexed(). |
|
|
Row overscaling.
Definition at line 62 of file Bitmap.hpp. Referenced by PSImageBase::bitmap(), PNG::cost_constant(), and PNG::cost_indexed(). |
|
|
X coordinate of first corner.
Definition at line 50 of file Bitmap.hpp. Referenced by SVGImage::bitmap(), and PSImageBase::bitmap(). |
|
|
X coordinate of opposite corner.
Definition at line 56 of file Bitmap.hpp. Referenced by SVGImage::bitmap(), and PSImageBase::bitmap(). |
|
|
Y coordinate of first corner.
Definition at line 53 of file Bitmap.hpp. Referenced by SVGImage::bitmap(), and PSImageBase::bitmap(). |
|
|
Y coordinate of opposite corner.
Definition at line 59 of file Bitmap.hpp. Referenced by SVGImage::bitmap(), and PSImageBase::bitmap(). |
1.3.9.1