github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/GraphicsMagick/magick/composite.h (about) 1 /* 2 Copyright (C) 2003 - 2010 GraphicsMagick Group 3 Copyright (C) 2002 ImageMagick Studio 4 5 This program is covered by multiple licenses, which are described in 6 Copyright.txt. You should have received a copy of Copyright.txt with this 7 package; otherwise see http://www.graphicsmagick.org/www/Copyright.html. 8 9 GraphicsMagick Image Composite Methods. 10 */ 11 #ifndef _MAGICK_COMPOSITE_H 12 #define _MAGICK_COMPOSITE_H 13 14 #if defined(__cplusplus) || defined(c_plusplus) 15 extern "C" { 16 #endif /* defined(__cplusplus) || defined(c_plusplus) */ 17 18 /* 19 Special options required by some composition operators. 20 */ 21 typedef struct _CompositeOptions_t 22 { 23 /* ModulateComposite */ 24 double percent_brightness; 25 26 /* ThresholdComposite */ 27 double amount; 28 double threshold; 29 } CompositeOptions_t; 30 31 extern MagickExport MagickPassFail 32 CompositeImage(Image *canvas_image,const CompositeOperator compose, 33 const Image *update_image, 34 const long x_offset,const long y_offset), 35 CompositeImageRegion(const CompositeOperator compose, 36 const CompositeOptions_t *options, 37 const unsigned long columns, 38 const unsigned long rows, 39 const Image *update_image, 40 const long update_x, 41 const long update_y, 42 Image *canvas_image, 43 const long canvas_x, 44 const long canvas_y, 45 ExceptionInfo *exception), 46 MagickCompositeImageUnderColor(Image *image,const PixelPacket *undercolor, 47 ExceptionInfo *exception); 48 49 #if defined(__cplusplus) || defined(c_plusplus) 50 } 51 #endif /* defined(__cplusplus) || defined(c_plusplus) */ 52 53 #endif /* _MAGICK_COMPOSITE_H */ 54 55 /* 56 * Local Variables: 57 * mode: c 58 * c-basic-offset: 2 59 * fill-column: 78 60 * End: 61 */