|
MagickWand
6.7.5
|
00001 /* 00002 Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization 00003 dedicated to making software imaging solutions freely available. 00004 00005 You may not use this file except in compliance with the License. 00006 obtain a copy of the License at 00007 00008 http://www.imagemagick.org/script/license.php 00009 00010 Unless required by applicable law or agreed to in writing, software 00011 distributed under the License is distributed on an "AS IS" BASIS, 00012 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 See the License for the specific language governing permissions and 00014 limitations under the License. 00015 00016 MagickWand pixel wand methods. 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 *), 00035 PixelGetBlack(const PixelWand *), 00036 PixelGetBlue(const PixelWand *), 00037 PixelGetCyan(const PixelWand *), 00038 PixelGetFuzz(const PixelWand *), 00039 PixelGetGreen(const PixelWand *), 00040 PixelGetMagenta(const PixelWand *), 00041 PixelGetAlpha(const PixelWand *), 00042 PixelGetRed(const PixelWand *), 00043 PixelGetYellow(const PixelWand *); 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 *), 00067 PixelGetBlackQuantum(const PixelWand *), 00068 PixelGetBlueQuantum(const PixelWand *), 00069 PixelGetCyanQuantum(const PixelWand *), 00070 PixelGetGreenQuantum(const PixelWand *), 00071 PixelGetIndex(const PixelWand *), 00072 PixelGetMagentaQuantum(const PixelWand *), 00073 PixelGetAlphaQuantum(const PixelWand *), 00074 PixelGetRedQuantum(const PixelWand *), 00075 PixelGetYellowQuantum(const PixelWand *); 00076 00077 extern WandExport size_t 00078 PixelGetColorCount(const PixelWand *); 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