2 /* This file is part of
3 * =================================================
5 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich.
7 * Copyright 1995-2000 The LyX Team.
9 * This file Copyright 2000 Baruch Even
10 * ================================================= */
15 #include "frontends/support/LyXImage.h"
18 // This class actually acts as a base class when X Window is used.
25 LyXImage(Pixmap pixmap, unsigned int width, unsigned int height);
30 Pixmap getPixmap() const;
32 /// Get the image width
33 unsigned int getWidth() const { return width_; }
35 /// Get the image height
36 unsigned int getHeight() const { return height_; }
39 /// The pixmap itself.
41 /// Is the pixmap initialized?
42 bool pixmapInitialized;
43 /// Width of the image
45 /// Height of the image