]> git.lyx.org Git - features.git/blob - src/graphics/EPS_Renderer.h
947146bc3c74c68648491bd9188a76994d71d965
[features.git] / src / graphics / EPS_Renderer.h
1 // -*- C++ -*-
2 /* This file is part of
3  * =================================================
4  * 
5  *          LyX, The Document Processor
6  *          Copyright 1995 Matthias Ettrich.
7  *          Copyright 1995-2000 The LyX Team.
8  *
9  *          This file Copyright 2000 Baruch Even
10  * ================================================= */
11
12 #ifndef EPS_RENDERER_H
13 #define EPS_RENDERER_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "graphics/Renderer.h"
20
21 class EPS_Renderer : public Renderer {
22 public:
23         /// c-tor.
24         EPS_Renderer();
25         /// d-tor.
26         virtual ~EPS_Renderer();
27
28         /// Load the EPS image and create a pixmap out of it.
29         virtual bool renderImage();
30
31 private:
32         /// Verify that filename is really an EPS file.
33         virtual bool isImageFormatOK(string const & filename) const;
34 };
35
36 #endif