#define GRAPHICSPARAMS_H
#include "GraphicsTypes.h"
-#include "support/std_string.h"
+
+#include <string>
+#include <iosfwd>
namespace lyx {
///
BoundingBox();
///
- BoundingBox(string const &);
+ BoundingBox(std::string const &);
/// 0 0 0 0 is empty!
bool empty() const;
- /// The bounding box as "xl yb xr yr"
- string const asString() const;
-
unsigned int xl;
unsigned int yb;
unsigned int xr;
bool operator==(BoundingBox const &, BoundingBox const &);
bool operator!=(BoundingBox const &, BoundingBox const &);
+std::ostream & operator<<(std::ostream &, BoundingBox const &);
+
+
struct Params
{
Params();
unsigned int scale;
/// The image filename.
- string filename;
+ std::string filename;
/** Note that the BoundingBox is always relative to the BoundingBox
* as stored in the EPS file.