3 * \file GraphicsParams.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
11 * Used internally by the grfx::Image.
14 #ifndef GRAPHICSPARAMS_H
15 #define GRAPHICSPARAMS_H
17 #include "GraphicsTypes.h"
23 /** Parse a string of the form "200pt 500pt 300mm 5in" into a
24 * usable bounding box.
30 BoundingBox(string const &);
41 bool operator==(BoundingBox const &, BoundingBox const &);
42 bool operator!=(BoundingBox const &, BoundingBox const &);
51 /// The image filename.
54 /** Note that the BoundingBox is always relative to the BoundingBox
55 * as stored in the EPS file.
56 * Ie, bb.xl and bb.yb == 0 if that corner is not moved.
60 /** The size of the view inside lyx in pixels or the scaling of the
67 bool operator==(Params const &, Params const &);
68 bool operator!=(Params const &, Params const &);
72 #endif // GRAPHICSPARAMS_H