00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MAGICKWAND_PIXEL_WAND_H
00019 #define MAGICKWAND_PIXEL_WAND_H
00020
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024
00025 typedef struct _PixelWand
00026 PixelWand;
00027
00028 extern WandExport char
00029 *PixelGetColorAsNormalizedString(const PixelWand *),
00030 *PixelGetColorAsString(const PixelWand *),
00031 *PixelGetException(const PixelWand *,ExceptionType *);
00032
00033 extern WandExport double
00034 PixelGetAlpha(const PixelWand *) magick_attribute((__pure__)),
00035 PixelGetBlack(const PixelWand *) magick_attribute((__pure__)),
00036 PixelGetBlue(const PixelWand *) magick_attribute((__pure__)),
00037 PixelGetCyan(const PixelWand *) magick_attribute((__pure__)),
00038 PixelGetFuzz(const PixelWand *) magick_attribute((__pure__)),
00039 PixelGetGreen(const PixelWand *) magick_attribute((__pure__)),
00040 PixelGetMagenta(const PixelWand *) magick_attribute((__pure__)),
00041 PixelGetAlpha(const PixelWand *) magick_attribute((__pure__)),
00042 PixelGetRed(const PixelWand *) magick_attribute((__pure__)),
00043 PixelGetYellow(const PixelWand *) magick_attribute((__pure__));
00044
00045 extern WandExport ExceptionType
00046 PixelGetExceptionType(const PixelWand *);
00047
00048 extern WandExport MagickBooleanType
00049 IsPixelWand(const PixelWand *),
00050 IsPixelWandSimilar(PixelWand *,PixelWand *,const double),
00051 PixelClearException(PixelWand *),
00052 PixelSetColor(PixelWand *,const char *);
00053
00054 extern WandExport PixelInfo
00055 PixelGetPixel(const PixelWand *);
00056
00057 extern WandExport PixelWand
00058 *ClonePixelWand(const PixelWand *),
00059 **ClonePixelWands(const PixelWand **,const size_t),
00060 *DestroyPixelWand(PixelWand *),
00061 **DestroyPixelWands(PixelWand **,const size_t),
00062 *NewPixelWand(void),
00063 **NewPixelWands(const size_t);
00064
00065 extern WandExport Quantum
00066 PixelGetAlphaQuantum(const PixelWand *) magick_attribute((__pure__)),
00067 PixelGetBlackQuantum(const PixelWand *) magick_attribute((__pure__)),
00068 PixelGetBlueQuantum(const PixelWand *) magick_attribute((__pure__)),
00069 PixelGetCyanQuantum(const PixelWand *) magick_attribute((__pure__)),
00070 PixelGetGreenQuantum(const PixelWand *) magick_attribute((__pure__)),
00071 PixelGetIndex(const PixelWand *) magick_attribute((__pure__)),
00072 PixelGetMagentaQuantum(const PixelWand *) magick_attribute((__pure__)),
00073 PixelGetAlphaQuantum(const PixelWand *) magick_attribute((__pure__)),
00074 PixelGetRedQuantum(const PixelWand *) magick_attribute((__pure__)),
00075 PixelGetYellowQuantum(const PixelWand *) magick_attribute((__pure__));
00076
00077 extern WandExport size_t
00078 PixelGetColorCount(const PixelWand *) magick_attribute((__pure__));
00079
00080 extern WandExport void
00081 ClearPixelWand(PixelWand *),
00082 PixelGetHSL(const PixelWand *,double *,double *,double *),
00083 PixelGetMagickColor(const PixelWand *,PixelInfo *),
00084 PixelGetQuantumPacket(const PixelWand *,PixelInfo *),
00085 PixelGetQuantumPixel(const Image *,const PixelWand *,Quantum *),
00086 PixelSetAlpha(PixelWand *,const double),
00087 PixelSetAlphaQuantum(PixelWand *,const Quantum),
00088 PixelSetBlack(PixelWand *,const double),
00089 PixelSetBlackQuantum(PixelWand *,const Quantum),
00090 PixelSetBlue(PixelWand *,const double),
00091 PixelSetBlueQuantum(PixelWand *,const Quantum),
00092 PixelSetColorFromWand(PixelWand *,const PixelWand *),
00093 PixelSetColorCount(PixelWand *,const size_t),
00094 PixelSetCyan(PixelWand *,const double),
00095 PixelSetCyanQuantum(PixelWand *,const Quantum),
00096 PixelSetFuzz(PixelWand *,const double),
00097 PixelSetGreen(PixelWand *,const double),
00098 PixelSetGreenQuantum(PixelWand *,const Quantum),
00099 PixelSetHSL(PixelWand *,const double,const double,const double),
00100 PixelSetIndex(PixelWand *,const Quantum),
00101 PixelSetMagenta(PixelWand *,const double),
00102 PixelSetMagentaQuantum(PixelWand *,const Quantum),
00103 PixelSetPixelColor(PixelWand *,const PixelInfo *),
00104 PixelSetAlpha(PixelWand *,const double),
00105 PixelSetAlphaQuantum(PixelWand *,const Quantum),
00106 PixelSetPixelColor(PixelWand *,const PixelInfo *),
00107 PixelSetQuantumPixel(const Image *,const Quantum *,PixelWand *),
00108 PixelSetRed(PixelWand *,const double),
00109 PixelSetRedQuantum(PixelWand *,const Quantum),
00110 PixelSetYellow(PixelWand *,const double),
00111 PixelSetYellowQuantum(PixelWand *,const Quantum);
00112
00113 #if defined(__cplusplus) || defined(c_plusplus)
00114 }
00115 #endif
00116
00117 #endif