MagickWand  7.1.1-43
Convert, Edit, Or Compose Bitmap Images
pixel-wand.h
1 /*
2  Copyright @ 1999 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. You may
6  obtain a copy of the License at
7 
8  https://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
29  *PixelGetColorAsNormalizedString(const PixelWand *),
30  *PixelGetColorAsString(const PixelWand *),
31  *PixelGetException(const PixelWand *,ExceptionType *);
32 
33 extern WandExport double
34  PixelGetAlpha(const PixelWand *) magick_attribute((__pure__)),
35  PixelGetBlack(const PixelWand *) magick_attribute((__pure__)),
36  PixelGetBlue(const PixelWand *) magick_attribute((__pure__)),
37  PixelGetCyan(const PixelWand *) magick_attribute((__pure__)),
38  PixelGetFuzz(const PixelWand *) magick_attribute((__pure__)),
39  PixelGetGreen(const PixelWand *) magick_attribute((__pure__)),
40  PixelGetMagenta(const PixelWand *) magick_attribute((__pure__)),
41  PixelGetRed(const PixelWand *) magick_attribute((__pure__)),
42  PixelGetYellow(const PixelWand *) magick_attribute((__pure__));
43 
44 extern WandExport ExceptionType
45  PixelGetExceptionType(const PixelWand *);
46 
47 extern WandExport MagickBooleanType
48  IsPixelWand(const PixelWand *),
49  IsPixelWandSimilar(PixelWand *,PixelWand *,const double),
50  PixelClearException(PixelWand *),
51  PixelSetColor(PixelWand *,const char *);
52 
53 extern WandExport PixelInfo
54  PixelGetPixel(const PixelWand *);
55 
56 extern WandExport PixelWand
57  *ClonePixelWand(const PixelWand *),
58  **ClonePixelWands(const PixelWand **,const size_t),
59  *DestroyPixelWand(PixelWand *),
60  **DestroyPixelWands(PixelWand **,const size_t),
61  *NewPixelWand(void),
62  **NewPixelWands(const size_t);
63 
64 extern WandExport Quantum
65  PixelGetAlphaQuantum(const PixelWand *) magick_attribute((__pure__)),
66  PixelGetBlackQuantum(const PixelWand *) magick_attribute((__pure__)),
67  PixelGetBlueQuantum(const PixelWand *) magick_attribute((__pure__)),
68  PixelGetCyanQuantum(const PixelWand *) magick_attribute((__pure__)),
69  PixelGetGreenQuantum(const PixelWand *) magick_attribute((__pure__)),
70  PixelGetIndex(const PixelWand *) magick_attribute((__pure__)),
71  PixelGetMagentaQuantum(const PixelWand *) magick_attribute((__pure__)),
72  PixelGetRedQuantum(const PixelWand *) magick_attribute((__pure__)),
73  PixelGetYellowQuantum(const PixelWand *) magick_attribute((__pure__));
74 
75 extern WandExport size_t
76  PixelGetColorCount(const PixelWand *) magick_attribute((__pure__));
77 
78 extern WandExport void
79  ClearPixelWand(PixelWand *),
80  PixelGetHSL(const PixelWand *,double *,double *,double *),
81  PixelGetMagickColor(const PixelWand *,PixelInfo *),
82  PixelGetQuantumPacket(const PixelWand *,PixelInfo *),
83  PixelGetQuantumPixel(const Image *,const PixelWand *,Quantum *),
84  PixelSetAlpha(PixelWand *,const double),
85  PixelSetAlphaQuantum(PixelWand *,const Quantum),
86  PixelSetBlack(PixelWand *,const double),
87  PixelSetBlackQuantum(PixelWand *,const Quantum),
88  PixelSetBlue(PixelWand *,const double),
89  PixelSetBlueQuantum(PixelWand *,const Quantum),
90  PixelSetColorFromWand(PixelWand *,const PixelWand *),
91  PixelSetColorCount(PixelWand *,const size_t),
92  PixelSetCyan(PixelWand *,const double),
93  PixelSetCyanQuantum(PixelWand *,const Quantum),
94  PixelSetFuzz(PixelWand *,const double),
95  PixelSetGreen(PixelWand *,const double),
96  PixelSetGreenQuantum(PixelWand *,const Quantum),
97  PixelSetHSL(PixelWand *,const double,const double,const double),
98  PixelSetIndex(PixelWand *,const Quantum),
99  PixelSetMagenta(PixelWand *,const double),
100  PixelSetMagentaQuantum(PixelWand *,const Quantum),
101  PixelSetPixelColor(PixelWand *,const PixelInfo *),
102  PixelSetQuantumPixel(const Image *,const Quantum *,PixelWand *),
103  PixelSetRed(PixelWand *,const double),
104  PixelSetRedQuantum(PixelWand *,const Quantum),
105  PixelSetYellow(PixelWand *,const double),
106  PixelSetYellowQuantum(PixelWand *,const Quantum);
107 
108 #if defined(__cplusplus) || defined(c_plusplus)
109 }
110 #endif
111 
112 #endif
_PixelWand
Definition: pixel-wand.c:63