1 #ifndef __drvMAGICK_h
2 #define __drvMAGICK_h
3 
4 /*
5    drvMAGICK.h : This file is part of pstoedit
6    Class declaration for a MAGICK++ output driver with no additional attributes
7    and methods (minimal interface)
8 
9    Copyright (C) 1993 - 2014 Wolfgang Glunz, wglunz35_AT_pstoedit.net
10 
11     This program is free software; you can redistribute it and/or modify
12     it under the terms of the GNU General Public License as published by
13     the Free Software Foundation; either version 2 of the License, or
14     (at your option) any later version.
15 
16     This program is distributed in the hope that it will be useful,
17     but WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19     GNU General Public License for more details.
20 
21     You should have received a copy of the GNU General Public License
22     along with this program; if not, write to the Free Software
23     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 
25 */
26 // wogltest #define _IOSFWD_
27 
28 #include "drvbase.h"
29 #ifdef _WIN32
30 // Magic++ needs WIN32
31 #ifndef WIN32
32 #define WIN32
33 #endif
34 #endif
35 #include <Magick++.h>
36 using namespace std;
37 using namespace Magick;
38 
39 class drvMAGICK : public drvbase {
40 
41 public:
42 
43 	derivedConstructor(drvMAGICK);
44 
45 	~drvMAGICK(); // Destructor
46 	class DriverOptions : public ProgramOptions {
47 	public:
DriverOptions()48 		DriverOptions()
49 		{
50 		}
51 	}*options;
52 
53 #include "drvfuncs.h"
54 //	void show_rectangle(const float llx, const float lly, const float urx, const float ury);
55 	void show_text(const TextInfo & textInfo);
56 
57 public:
58 
59 	virtual void    show_image(const PSImage & imageinfo);
60 
61 private:
62 	void create_vpath(VPathList & vpath);
63 	int	      imgcount;
64 
65 	Image * imageptr; //Magick::Image meant here
66 
67 };
68 
69 #endif
70 
71 
72