File indexing completed on 2025-11-03 09:50:59
0001 
0002 
0003 
0004 
0005 
0006 
0007 
0008 
0009 
0010 
0011 
0012 
0013 
0014 
0015 
0016 
0017 
0018 #ifndef MAGICKWAND_PIXEL_WAND_H
0019 #define MAGICKWAND_PIXEL_WAND_H
0020 
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024 
0025 typedef struct _PixelWand
0026   PixelWand;
0027 
0028 extern WandExport char
0029   *PixelGetColorAsNormalizedString(const PixelWand *),
0030   *PixelGetColorAsString(const PixelWand *),
0031   *PixelGetException(const PixelWand *,ExceptionType *);
0032 
0033 extern WandExport double
0034   PixelGetAlpha(const PixelWand *) magick_attribute((__pure__)),
0035   PixelGetBlack(const PixelWand *) magick_attribute((__pure__)),
0036   PixelGetBlue(const PixelWand *) magick_attribute((__pure__)),
0037   PixelGetCyan(const PixelWand *) magick_attribute((__pure__)),
0038   PixelGetFuzz(const PixelWand *) magick_attribute((__pure__)),
0039   PixelGetGreen(const PixelWand *) magick_attribute((__pure__)),
0040   PixelGetMagenta(const PixelWand *) magick_attribute((__pure__)),
0041   PixelGetAlpha(const PixelWand *) magick_attribute((__pure__)),
0042   PixelGetRed(const PixelWand *) magick_attribute((__pure__)),
0043   PixelGetYellow(const PixelWand *) magick_attribute((__pure__));
0044 
0045 extern WandExport ExceptionType
0046   PixelGetExceptionType(const PixelWand *);
0047 
0048 extern WandExport MagickBooleanType
0049   IsPixelWand(const PixelWand *),
0050   IsPixelWandSimilar(PixelWand *,PixelWand *,const double),
0051   PixelClearException(PixelWand *),
0052   PixelSetColor(PixelWand *,const char *);
0053 
0054 extern WandExport PixelInfo
0055   PixelGetPixel(const PixelWand *);
0056 
0057 extern WandExport PixelWand
0058   *ClonePixelWand(const PixelWand *),
0059   **ClonePixelWands(const PixelWand **,const size_t),
0060   *DestroyPixelWand(PixelWand *),
0061   **DestroyPixelWands(PixelWand **,const size_t),
0062   *NewPixelWand(void),
0063   **NewPixelWands(const size_t);
0064 
0065 extern WandExport Quantum
0066   PixelGetAlphaQuantum(const PixelWand *) magick_attribute((__pure__)),
0067   PixelGetBlackQuantum(const PixelWand *) magick_attribute((__pure__)),
0068   PixelGetBlueQuantum(const PixelWand *) magick_attribute((__pure__)),
0069   PixelGetCyanQuantum(const PixelWand *) magick_attribute((__pure__)),
0070   PixelGetGreenQuantum(const PixelWand *) magick_attribute((__pure__)),
0071   PixelGetIndex(const PixelWand *) magick_attribute((__pure__)),
0072   PixelGetMagentaQuantum(const PixelWand *) magick_attribute((__pure__)),
0073   PixelGetAlphaQuantum(const PixelWand *) magick_attribute((__pure__)),
0074   PixelGetRedQuantum(const PixelWand *) magick_attribute((__pure__)),
0075   PixelGetYellowQuantum(const PixelWand *) magick_attribute((__pure__));
0076 
0077 extern WandExport size_t
0078   PixelGetColorCount(const PixelWand *) magick_attribute((__pure__));
0079 
0080 extern WandExport void
0081   ClearPixelWand(PixelWand *),
0082   PixelGetHSL(const PixelWand *,double *,double *,double *),
0083   PixelGetMagickColor(const PixelWand *,PixelInfo *),
0084   PixelGetQuantumPacket(const PixelWand *,PixelInfo *),
0085   PixelGetQuantumPixel(const Image *,const PixelWand *,Quantum *),
0086   PixelSetAlpha(PixelWand *,const double),
0087   PixelSetAlphaQuantum(PixelWand *,const Quantum),
0088   PixelSetBlack(PixelWand *,const double),
0089   PixelSetBlackQuantum(PixelWand *,const Quantum),
0090   PixelSetBlue(PixelWand *,const double),
0091   PixelSetBlueQuantum(PixelWand *,const Quantum),
0092   PixelSetColorFromWand(PixelWand *,const PixelWand *),
0093   PixelSetColorCount(PixelWand *,const size_t),
0094   PixelSetCyan(PixelWand *,const double),
0095   PixelSetCyanQuantum(PixelWand *,const Quantum),
0096   PixelSetFuzz(PixelWand *,const double),
0097   PixelSetGreen(PixelWand *,const double),
0098   PixelSetGreenQuantum(PixelWand *,const Quantum),
0099   PixelSetHSL(PixelWand *,const double,const double,const double),
0100   PixelSetIndex(PixelWand *,const Quantum),
0101   PixelSetMagenta(PixelWand *,const double),
0102   PixelSetMagentaQuantum(PixelWand *,const Quantum),
0103   PixelSetPixelColor(PixelWand *,const PixelInfo *),
0104   PixelSetAlpha(PixelWand *,const double),
0105   PixelSetAlphaQuantum(PixelWand *,const Quantum),
0106   PixelSetPixelColor(PixelWand *,const PixelInfo *),
0107   PixelSetQuantumPixel(const Image *,const Quantum *,PixelWand *),
0108   PixelSetRed(PixelWand *,const double),
0109   PixelSetRedQuantum(PixelWand *,const Quantum),
0110   PixelSetYellow(PixelWand *,const double),
0111   PixelSetYellowQuantum(PixelWand *,const Quantum);
0112 
0113 #if defined(__cplusplus) || defined(c_plusplus)
0114 }
0115 #endif
0116 
0117 #endif