MagickCore  7.1.0
Convert, Edit, Or Compose Bitmap Images
montage.h
1 /*
2  Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License. You may
6  obtain a copy of the License at
7 
8  https://imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickCore montage methods.
17 */
18 #ifndef MAGICKCORE_MONTAGE_H
19 #define MAGICKCORE_MONTAGE_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 typedef enum
26 {
27  UndefinedMode,
28  FrameMode,
29  UnframeMode,
30  ConcatenateMode
31 } MontageMode;
32 
33 typedef struct _MontageInfo
34 {
35  char
36  *geometry,
37  *tile,
38  *title,
39  *frame,
40  *texture,
41  *font;
42 
43  double
44  pointsize;
45 
46  size_t
47  border_width;
48 
49  MagickBooleanType
50  shadow;
51 
52  PixelInfo
53  alpha_color, /* deprecated */
54  background_color,
55  border_color,
56  fill,
57  stroke;
58 
59  GravityType
60  gravity;
61 
62  char
63  filename[MagickPathExtent];
64 
65  MagickBooleanType
66  debug;
67 
68  size_t
69  signature;
70 
71  PixelInfo
72  matte_color;
73 } MontageInfo;
74 
75 extern MagickExport Image
76  *MontageImages(const Image *,const MontageInfo *,ExceptionInfo *),
77  *MontageImageList(const ImageInfo *,const MontageInfo *,const Image *,
78  ExceptionInfo *);
79 
80 extern MagickExport MontageInfo
81  *CloneMontageInfo(const ImageInfo *,const MontageInfo *),
82  *DestroyMontageInfo(MontageInfo *);
83 
84 extern MagickExport void
85  GetMontageInfo(const ImageInfo *,MontageInfo *);
86 
87 #if defined(__cplusplus) || defined(c_plusplus)
88 }
89 #endif
90 
91 #endif
Definition: image.h:152