github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/wand/pixel_wand.h (about)

     1  /*
     2    Copyright (C) 2003-2009 GraphicsMagick Group
     3    Copyright (C) 2003 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 Pixel Wand Methods.
    10  */
    11  #ifndef _MAGICK_PIXEL_WAND_H
    12  #define _MAGICK_PIXEL_WAND_H
    13  
    14  #if defined(__cplusplus) || defined(c_plusplus)
    15  extern "C" {
    16  #endif
    17  
    18  #include "wand/wand_symbols.h"
    19  
    20  typedef struct _PixelWand PixelWand;
    21  
    22  extern WandExport char
    23    *PixelGetColorAsString(const PixelWand *);
    24  
    25  extern WandExport double
    26    PixelGetBlack(const PixelWand *) MAGICK_FUNC_PURE,
    27    PixelGetBlue(const PixelWand *) MAGICK_FUNC_PURE,
    28    PixelGetCyan(const PixelWand *) MAGICK_FUNC_PURE,
    29    PixelGetGreen(const PixelWand *) MAGICK_FUNC_PURE,
    30    PixelGetMagenta(const PixelWand *) MAGICK_FUNC_PURE,
    31    PixelGetOpacity(const PixelWand *) MAGICK_FUNC_PURE,
    32    PixelGetRed(const PixelWand *) MAGICK_FUNC_PURE,
    33    PixelGetYellow(const PixelWand *) MAGICK_FUNC_PURE;
    34  
    35  extern WandExport PixelWand
    36    *ClonePixelWand(const PixelWand *),
    37    **ClonePixelWands(const PixelWand **,const unsigned long),
    38    *NewPixelWand(void),
    39    **NewPixelWands(const unsigned long);
    40  
    41  extern WandExport Quantum
    42    PixelGetBlackQuantum(const PixelWand *) MAGICK_FUNC_PURE,
    43    PixelGetBlueQuantum(const PixelWand *) MAGICK_FUNC_PURE,
    44    PixelGetCyanQuantum(const PixelWand *) MAGICK_FUNC_PURE,
    45    PixelGetGreenQuantum(const PixelWand *) MAGICK_FUNC_PURE,
    46    PixelGetMagentaQuantum(const PixelWand *) MAGICK_FUNC_PURE,
    47    PixelGetOpacityQuantum(const PixelWand *) MAGICK_FUNC_PURE,
    48    PixelGetRedQuantum(const PixelWand *) MAGICK_FUNC_PURE,
    49    PixelGetYellowQuantum(const PixelWand *) MAGICK_FUNC_PURE;
    50  
    51  extern WandExport unsigned int
    52    PixelSetColor(PixelWand *,const char *);
    53  
    54  extern WandExport unsigned long
    55    PixelGetColorCount(const PixelWand *) MAGICK_FUNC_PURE;
    56  
    57  extern WandExport void
    58    DestroyPixelWand(PixelWand *),
    59    PixelGetQuantumColor(const PixelWand *,PixelPacket *),
    60    PixelSetBlack(PixelWand *,const double),
    61    PixelSetBlackQuantum(PixelWand *,const Quantum),
    62    PixelSetBlue(PixelWand *,const double),
    63    PixelSetBlueQuantum(PixelWand *,const Quantum),
    64    PixelSetColorCount(PixelWand *,const unsigned long),
    65    PixelSetCyan(PixelWand *,const double),
    66    PixelSetCyanQuantum(PixelWand *,const Quantum),
    67    PixelSetGreen(PixelWand *,const double),
    68    PixelSetGreenQuantum(PixelWand *,const Quantum),
    69    PixelSetMagenta(PixelWand *,const double),
    70    PixelSetMagentaQuantum(PixelWand *,const Quantum),
    71    PixelSetOpacity(PixelWand *,const double),
    72    PixelSetOpacityQuantum(PixelWand *,const Quantum),
    73    PixelSetQuantumColor(PixelWand *,PixelPacket *),
    74    PixelSetRed(PixelWand *,const double),
    75    PixelSetRedQuantum(PixelWand *,const Quantum),
    76    PixelSetYellow(PixelWand *,const double),
    77    PixelSetYellowQuantum(PixelWand *,const Quantum);
    78  
    79  #if defined(__cplusplus) || defined(c_plusplus)
    80  }
    81  #endif
    82  
    83  #endif
    84  
    85  /*
    86   * Local Variables:
    87   * mode: c
    88   * c-basic-offset: 2
    89   * fill-column: 78
    90   * End:
    91   */