PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 6ms RepoModel.GetById 2ms app.codeStats 0ms

/dmagick/c/montage.d

http://github.com/MikeWey/DMagick
D | 65 lines | 51 code | 14 blank | 0 comment | 0 complexity | 1538a1c6e496b298a595e7b1dca8888d MD5 | raw file
 1module dmagick.c.montage;
 2
 3import dmagick.c.exception;
 4import dmagick.c.geometry;
 5import dmagick.c.image;
 6import dmagick.c.magickType;
 7import dmagick.c.pixel;
 8
 9extern(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}