1 module dmagick.c.montage;
2 
3 import dmagick.c.exception;
4 import dmagick.c.geometry;
5 import dmagick.c.image;
6 import dmagick.c.magickType;
7 import dmagick.c.pixel;
8 
9 extern(C)
10 {
11 	enum MontageMode
12 	{
13 		UndefinedMode,
14 		FrameMode,
15 		UnframeMode,
16 		ConcatenateMode
17 	}
18 
19 	struct MontageInfo
20 	{
21 		char*
22 			geometry,
23 			tile,
24 			title,
25 			frame,
26 			texture,
27 			font;
28 
29 		double
30 			pointsize;
31 
32 		size_t
33 			border_width;
34 
35 		MagickBooleanType
36 			shadow;
37 
38 		PixelPacket
39 			fill,
40 			stroke,
41 			background_color,
42 			border_color,
43 			matte_color;
44 
45 		GravityType
46 			gravity;
47 
48 		char[MaxTextExtent]
49 			filename;
50 
51 		MagickBooleanType
52 			ddebug;
53 
54 		size_t
55 			signature;
56 	}
57 
58 	Image* MontageImages(const(Image)*, const(MontageInfo)*, ExceptionInfo*);
59 	Image* MontageImageList(const(ImageInfo)*, const(MontageInfo)*, const(Image)*, ExceptionInfo*);
60 
61 	MontageInfo* CloneMontageInfo(const(ImageInfo)*, const(MontageInfo)*);
62 	MontageInfo* DestroyMontageInfo(MontageInfo*);
63 
64 	void GetMontageInfo(const(ImageInfo)*, MontageInfo*);
65 }