Home | History | Annotate | Download | only in MagickCore
      1 /*
      2   Copyright 1999-2016 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.
      6   obtain a copy of the License at
      7 
      8     http://www.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,
     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 } MontageInfo;
     71 
     72 extern MagickExport Image
     73   *MontageImages(const Image *,const MontageInfo *,ExceptionInfo *),
     74   *MontageImageList(const ImageInfo *,const MontageInfo *,const Image *,
     75     ExceptionInfo *);
     76 
     77 extern MagickExport MontageInfo
     78   *CloneMontageInfo(const ImageInfo *,const MontageInfo *),
     79   *DestroyMontageInfo(MontageInfo *);
     80 
     81 extern MagickExport void
     82   GetMontageInfo(const ImageInfo *,MontageInfo *);
     83 
     84 #if defined(__cplusplus) || defined(c_plusplus)
     85 }
     86 #endif
     87 
     88 #endif
     89