#include "GraphicsTypes.h"
+#include "support/filename.h"
+
#include <string>
#include <iosfwd>
/** Parse a string of the form "200pt 500pt 300mm 5in" into a
* usable bounding box.
*/
-struct BoundingBox {
+class BoundingBox {
+public:
///
BoundingBox();
///
std::ostream & operator<<(std::ostream &, BoundingBox const &);
-struct Params
+class Params
{
+public:
Params();
DisplayType display;
unsigned int scale;
/// The image filename.
- std::string filename;
+ support::FileName filename;
/** Note that the BoundingBox is always relative to the BoundingBox
* as stored in the EPS file.
* image.
*/
/// Rotation angle.
- float angle;
+ double angle;
};
bool operator==(Params const &, Params const &);