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.
10 * Only a subset of InsetGraphicsParams is needed for display purposes.
11 * The GraphicsParams c-tor also interrogates lyxrc to ascertain whether
15 #ifndef GRAPHICSPARAMS_H
16 #define GRAPHICSPARAMS_H
23 #include "lyxlength.h"
25 class InsetGraphicsParams;
29 /** Parse a string of the form "200pt 500pt 300mm 5in" into a
30 * usable bounding box.
36 BoundingBox(string const &);
47 bool operator==(BoundingBox const &, BoundingBox const &);
48 bool operator!=(BoundingBox const &, BoundingBox const &);
52 GParams(InsetGraphicsParams const &);
54 /// How is the image to be displayed on the LyX screen?
59 /// We aren't going to display it at all!
65 /// The image filename.
70 /** The size of the view inside lyx in pixels or the scaling of the
81 bool operator==(GParams const &, GParams const &);
82 bool operator!=(GParams const &, GParams const &);
86 #endif // GRAPHICSPARAMS_H