3 * \file GraphicsParams.h
4 * Read the file COPYING
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS
10 * Used internally by the grfx::Image.
13 #ifndef GRAPHICSPARAMS_H
14 #define GRAPHICSPARAMS_H
20 #include "GraphicsTypes.h"
26 /** Parse a string of the form "200pt 500pt 300mm 5in" into a
27 * usable bounding box.
33 BoundingBox(string const &);
44 bool operator==(BoundingBox const &, BoundingBox const &);
45 bool operator!=(BoundingBox const &, BoundingBox const &);
54 /// The image filename.
57 /** Note that the BoundingBox is always relative to the BoundingBox
58 * as stored in the EPS file.
59 * Ie, bb.xl and bb.yb == 0 if that corner is not moved.
63 /** The size of the view inside lyx in pixels or the scaling of the
70 bool operator==(Params const &, Params const &);
71 bool operator!=(Params const &, Params const &);
75 #endif // GRAPHICSPARAMS_H