3 * \file GraphicsParams.h
4 * Copyright 2002 the LyX Team
5 * Read the file COPYING
7 * \author Angus Leeming <a.leeming@ic.ac.uk>
9 * Used internally by the GraphicsCache.
12 #ifndef GRAPHICSPARAMS_H
13 #define GRAPHICSPARAMS_H
19 #include "GraphicsTypes.h"
25 /** Parse a string of the form "200pt 500pt 300mm 5in" into a
26 * usable bounding box.
32 BoundingBox(string const &);
43 bool operator==(BoundingBox const &, BoundingBox const &);
44 bool operator!=(BoundingBox const &, BoundingBox const &);
52 /// The image filename.
55 /** Note that the BoundingBox is always relative to the BoundingBox
56 * as stored in the EPS file.
57 * Ie, bb.xl and bb.yb == 0 if that corner is not moved.
61 /** The size of the view inside lyx in pixels or the scaling of the
72 bool operator==(Params const &, Params const &);
73 bool operator!=(Params const &, Params const &);
77 #endif // GRAPHICSPARAMS_H