MagickWand  7.0.7
Convert, Edit, Or Compose Bitmap Images
pixel-wand.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2018 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7 
8  https://www.imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickWand pixel wand methods.
17 */
18 #ifndef MAGICKWAND_PIXEL_WAND_H
19 #define MAGICKWAND_PIXEL_WAND_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 typedef struct _PixelWand
26  PixelWand;
27 
28 extern WandExport char
31  *PixelGetException(const PixelWand *,ExceptionType *);
32 
33 extern WandExport double
34  PixelGetAlpha(const PixelWand *),
35  PixelGetBlack(const PixelWand *),
36  PixelGetBlue(const PixelWand *),
37  PixelGetCyan(const PixelWand *),
38  PixelGetFuzz(const PixelWand *),
39  PixelGetGreen(const PixelWand *),
40  PixelGetMagenta(const PixelWand *),
41  PixelGetAlpha(const PixelWand *),
42  PixelGetRed(const PixelWand *),
43  PixelGetYellow(const PixelWand *);
44 
45 extern WandExport ExceptionType
47 
48 extern WandExport MagickBooleanType
49  IsPixelWand(const PixelWand *),
50  IsPixelWandSimilar(PixelWand *,PixelWand *,const double),
52  PixelSetColor(PixelWand *,const char *);
53 
54 extern WandExport PixelInfo
55  PixelGetPixel(const PixelWand *);
56 
57 extern WandExport PixelWand
58  *ClonePixelWand(const PixelWand *),
59  **ClonePixelWands(const PixelWand **,const size_t),
61  **DestroyPixelWands(PixelWand **,const size_t),
62  *NewPixelWand(void),
63  **NewPixelWands(const size_t);
64 
65 extern WandExport Quantum
71  PixelGetIndex(const PixelWand *),
76 
77 extern WandExport size_t
79 
80 extern WandExport void
82  PixelGetHSL(const PixelWand *,double *,double *,double *),
83  PixelGetMagickColor(const PixelWand *,PixelInfo *),
84  PixelGetQuantumPacket(const PixelWand *,PixelInfo *),
85  PixelGetQuantumPixel(const Image *,const PixelWand *,Quantum *),
86  PixelSetAlpha(PixelWand *,const double),
87  PixelSetAlphaQuantum(PixelWand *,const Quantum),
88  PixelSetBlack(PixelWand *,const double),
89  PixelSetBlackQuantum(PixelWand *,const Quantum),
90  PixelSetBlue(PixelWand *,const double),
91  PixelSetBlueQuantum(PixelWand *,const Quantum),
93  PixelSetColorCount(PixelWand *,const size_t),
94  PixelSetCyan(PixelWand *,const double),
95  PixelSetCyanQuantum(PixelWand *,const Quantum),
96  PixelSetFuzz(PixelWand *,const double),
97  PixelSetGreen(PixelWand *,const double),
98  PixelSetGreenQuantum(PixelWand *,const Quantum),
99  PixelSetHSL(PixelWand *,const double,const double,const double),
100  PixelSetIndex(PixelWand *,const Quantum),
101  PixelSetMagenta(PixelWand *,const double),
102  PixelSetMagentaQuantum(PixelWand *,const Quantum),
103  PixelSetPixelColor(PixelWand *,const PixelInfo *),
104  PixelSetAlpha(PixelWand *,const double),
105  PixelSetAlphaQuantum(PixelWand *,const Quantum),
106  PixelSetPixelColor(PixelWand *,const PixelInfo *),
107  PixelSetQuantumPixel(const Image *,const Quantum *,PixelWand *),
108  PixelSetRed(PixelWand *,const double),
109  PixelSetRedQuantum(PixelWand *,const Quantum),
110  PixelSetYellow(PixelWand *,const double),
111  PixelSetYellowQuantum(PixelWand *,const Quantum);
112 
113 #if defined(__cplusplus) || defined(c_plusplus)
114 }
115 #endif
116 
117 #endif
WandExport Quantum PixelGetYellowQuantum(const PixelWand *)
Definition: pixel-wand.c:1457
WandExport void PixelSetRedQuantum(PixelWand *, const Quantum)
WandExport Quantum PixelGetMagentaQuantum(const PixelWand *)
WandExport void PixelSetYellow(PixelWand *, const double)
WandExport double PixelGetGreen(const PixelWand *)
WandExport void PixelSetIndex(PixelWand *, const Quantum)
WandExport MagickBooleanType IsPixelWandSimilar(PixelWand *, PixelWand *, const double)
WandExport Quantum PixelGetIndex(const PixelWand *)
WandExport void PixelGetQuantumPacket(const PixelWand *, PixelInfo *)
WandExport void PixelSetQuantumPixel(const Image *, const Quantum *, PixelWand *)
WandExport void PixelSetRed(PixelWand *, const double)
WandExport double PixelGetYellow(const PixelWand *)
Definition: pixel-wand.c:1426
WandExport char * PixelGetException(const PixelWand *, ExceptionType *)
Definition: pixel-wand.c:880
WandExport double PixelGetBlack(const PixelWand *)
WandExport void PixelSetColorFromWand(PixelWand *, const PixelWand *)
WandExport void PixelGetHSL(const PixelWand *, double *, double *, double *)
WandExport MagickBooleanType PixelSetColor(PixelWand *, const char *)
Definition: pixel-wand.c:1690
WandExport char * PixelGetColorAsNormalizedString(const PixelWand *)
WandExport PixelWand * NewPixelWand(void)
#define WandExport
WandExport void PixelSetAlpha(PixelWand *, const double)
WandExport void ClearPixelWand(PixelWand *)
WandExport Quantum PixelGetGreenQuantum(const PixelWand *)
WandExport void PixelSetColorCount(PixelWand *, const size_t)
WandExport void PixelSetCyan(PixelWand *, const double)
WandExport double PixelGetBlue(const PixelWand *)
WandExport PixelWand ** DestroyPixelWands(PixelWand **, const size_t)
WandExport Quantum PixelGetBlueQuantum(const PixelWand *)
WandExport Quantum PixelGetBlackQuantum(const PixelWand *)
WandExport size_t PixelGetColorCount(const PixelWand *)
Definition: pixel-wand.c:784
WandExport double PixelGetAlpha(const PixelWand *)
WandExport void PixelSetMagentaQuantum(PixelWand *, const Quantum)
WandExport void PixelSetBlue(PixelWand *, const double)
WandExport MagickBooleanType IsPixelWand(const PixelWand *)
WandExport char * PixelGetColorAsString(const PixelWand *)
WandExport Quantum PixelGetAlphaQuantum(const PixelWand *)
WandExport void PixelGetMagickColor(const PixelWand *, PixelInfo *)
WandExport double PixelGetRed(const PixelWand *)
WandExport void PixelSetCyanQuantum(PixelWand *, const Quantum)
WandExport void PixelSetHSL(PixelWand *, const double, const double, const double)
WandExport void PixelSetBlack(PixelWand *, const double)
WandExport PixelWand ** NewPixelWands(const size_t)
Definition: pixel-wand.c:442
WandExport double PixelGetCyan(const PixelWand *)
WandExport PixelWand * ClonePixelWand(const PixelWand *)
WandExport void PixelSetBlueQuantum(PixelWand *, const Quantum)
WandExport void PixelSetYellowQuantum(PixelWand *, const Quantum)
Definition: pixel-wand.c:2283
WandExport Quantum PixelGetRedQuantum(const PixelWand *)
WandExport void PixelSetGreen(PixelWand *, const double)
WandExport Quantum PixelGetCyanQuantum(const PixelWand *)
WandExport void PixelSetFuzz(PixelWand *, const double)
WandExport PixelInfo PixelGetPixel(const PixelWand *)
Definition: pixel-wand.c:1225
WandExport void PixelSetGreenQuantum(PixelWand *, const Quantum)
WandExport void PixelSetBlackQuantum(PixelWand *, const Quantum)
WandExport double PixelGetFuzz(const PixelWand *)
WandExport ExceptionType PixelGetExceptionType(const PixelWand *)
Definition: pixel-wand.c:935
WandExport PixelWand * DestroyPixelWand(PixelWand *)
WandExport MagickBooleanType PixelClearException(PixelWand *)
WandExport void PixelSetMagenta(PixelWand *, const double)
WandExport void PixelSetAlphaQuantum(PixelWand *, const Quantum)
WandExport double PixelGetMagenta(const PixelWand *)
WandExport void PixelSetPixelColor(PixelWand *, const PixelInfo *)
WandExport void PixelGetQuantumPixel(const Image *, const PixelWand *, Quantum *)
WandExport PixelWand ** ClonePixelWands(const PixelWand **, const size_t)