MagickWand 6.9.11-60
Convert, Edit, Or Compose Bitmap Images
pixel-wand.h
Go to the documentation of this file.
1/*
2 Copyright 1999-2021 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)
22extern "C" {
23#endif
24
25typedef struct _PixelWand
27
28extern WandExport char
31 *PixelGetException(const PixelWand *,ExceptionType *);
32
33extern 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 PixelGetOpacity(const PixelWand *) magick_attribute((__pure__)),
42 PixelGetRed(const PixelWand *) magick_attribute((__pure__)),
43 PixelGetYellow(const PixelWand *) magick_attribute((__pure__));
44
45extern WandExport ExceptionType
47
48extern WandExport IndexPacket
49 PixelGetIndex(const PixelWand *);
50
51extern WandExport MagickBooleanType
55 PixelSetColor(PixelWand *,const char *);
56
59 **ClonePixelWands(const PixelWand **,const size_t),
61 **DestroyPixelWands(PixelWand **,const size_t),
63 **NewPixelWands(const size_t);
64
65extern WandExport Quantum
66 PixelGetAlphaQuantum(const PixelWand *) magick_attribute((__pure__)),
67 PixelGetBlackQuantum(const PixelWand *) magick_attribute((__pure__)),
68 PixelGetBlueQuantum(const PixelWand *) magick_attribute((__pure__)),
69 PixelGetCyanQuantum(const PixelWand *) magick_attribute((__pure__)),
70 PixelGetGreenQuantum(const PixelWand *) magick_attribute((__pure__)),
71 PixelGetMagentaQuantum(const PixelWand *) magick_attribute((__pure__)),
72 PixelGetOpacityQuantum(const PixelWand *) magick_attribute((__pure__)),
73 PixelGetRedQuantum(const PixelWand *) magick_attribute((__pure__)),
74 PixelGetYellowQuantum(const PixelWand *) magick_attribute((__pure__));
75
76extern WandExport size_t
77 PixelGetColorCount(const PixelWand *) magick_attribute((__pure__));
78
79extern WandExport void
81 PixelGetHSL(const PixelWand *,double *,double *,double *),
82 PixelGetMagickColor(const PixelWand *,MagickPixelPacket *),
83 PixelGetQuantumColor(const PixelWand *,PixelPacket *),
84 PixelSetAlpha(PixelWand *,const double),
86 PixelSetBlack(PixelWand *,const double),
88 PixelSetBlue(PixelWand *,const double),
92 PixelSetCyan(PixelWand *,const double),
94 PixelSetFuzz(PixelWand *,const double),
95 PixelSetGreen(PixelWand *,const double),
97 PixelSetHSL(PixelWand *,const double,const double,const double),
98 PixelSetIndex(PixelWand *,const IndexPacket),
99 PixelSetMagenta(PixelWand *,const double),
101 PixelSetMagickColor(PixelWand *,const MagickPixelPacket *),
102 PixelSetOpacity(PixelWand *,const double),
104 PixelSetQuantumColor(PixelWand *,const PixelPacket *),
105 PixelSetRed(PixelWand *,const double),
107 PixelSetYellow(PixelWand *,const double),
108 PixelSetYellowQuantum(PixelWand *,const Quantum);
109
110#if defined(__cplusplus) || defined(c_plusplus)
111}
112#endif
113
114#endif
#define WandExport
Definition: method-attribute.h:71
WandExport void PixelSetMagentaQuantum(PixelWand *, const Quantum)
WandExport void PixelSetFuzz(PixelWand *, const double)
WandExport PixelWand * NewPixelWand(void)
WandExport double PixelGetYellow(const PixelWand *) magick_attribute((__pure__))
Definition: pixel-wand.c:1385
WandExport void PixelSetColorFromWand(PixelWand *, const PixelWand *)
WandExport Quantum PixelGetBlackQuantum(const PixelWand *) magick_attribute((__pure__))
WandExport void PixelSetGreen(PixelWand *, const double)
WandExport void PixelSetAlphaQuantum(PixelWand *, const Quantum)
WandExport void PixelSetCyan(PixelWand *, const double)
WandExport void PixelSetBlackQuantum(PixelWand *, const Quantum)
WandExport Quantum PixelGetBlueQuantum(const PixelWand *) magick_attribute((__pure__))
WandExport char * PixelGetColorAsString(const PixelWand *)
WandExport void PixelSetGreenQuantum(PixelWand *, const Quantum)
WandExport char * PixelGetColorAsNormalizedString(const PixelWand *)
WandExport Quantum PixelGetRedQuantum(const PixelWand *) magick_attribute((__pure__))
WandExport Quantum PixelGetGreenQuantum(const PixelWand *) magick_attribute((__pure__))
WandExport void PixelSetHSL(PixelWand *, const double, const double, const double)
WandExport void PixelSetMagickColor(PixelWand *, const MagickPixelPacket *)
WandExport ExceptionType PixelGetExceptionType(const PixelWand *)
Definition: pixel-wand.c:923
WandExport double PixelGetCyan(const PixelWand *) magick_attribute((__pure__))
WandExport void PixelSetYellowQuantum(PixelWand *, const Quantum)
Definition: pixel-wand.c:2317
WandExport void PixelSetYellow(PixelWand *, const double)
WandExport void PixelSetOpacity(PixelWand *, const double)
WandExport MagickBooleanType PixelClearException(PixelWand *)
WandExport PixelWand * DestroyPixelWand(PixelWand *)
WandExport PixelWand ** ClonePixelWands(const PixelWand **, const size_t)
WandExport void PixelSetAlpha(PixelWand *, const double)
WandExport void PixelGetQuantumColor(const PixelWand *, PixelPacket *)
WandExport double PixelGetOpacity(const PixelWand *) magick_attribute((__pure__))
WandExport double PixelGetAlpha(const PixelWand *) magick_attribute((__pure__))
WandExport PixelWand ** NewPixelWands(const size_t)
Definition: pixel-wand.c:433
WandExport Quantum PixelGetMagentaQuantum(const PixelWand *) magick_attribute((__pure__))
WandExport Quantum PixelGetYellowQuantum(const PixelWand *) magick_attribute((__pure__))
Definition: pixel-wand.c:1416
WandExport Quantum PixelGetOpacityQuantum(const PixelWand *) magick_attribute((__pure__))
WandExport PixelWand ** DestroyPixelWands(PixelWand **, const size_t)
WandExport void PixelSetIndex(PixelWand *, const IndexPacket)
WandExport MagickBooleanType IsPixelWand(const PixelWand *)
WandExport double PixelGetRed(const PixelWand *) magick_attribute((__pure__))
WandExport void PixelSetMagenta(PixelWand *, const double)
WandExport PixelWand * ClonePixelWand(const PixelWand *)
WandExport void PixelSetBlack(PixelWand *, const double)
WandExport void PixelSetRed(PixelWand *, const double)
WandExport double PixelGetGreen(const PixelWand *) magick_attribute((__pure__))
WandExport void PixelGetHSL(const PixelWand *, double *, double *, double *)
WandExport double PixelGetFuzz(const PixelWand *) magick_attribute((__pure__))
WandExport IndexPacket PixelGetIndex(const PixelWand *)
Definition: pixel-wand.c:1085
WandExport Quantum PixelGetAlphaQuantum(const PixelWand *) magick_attribute((__pure__))
WandExport void PixelSetBlueQuantum(PixelWand *, const Quantum)
WandExport char * PixelGetException(const PixelWand *, ExceptionType *)
Definition: pixel-wand.c:869
WandExport void PixelGetMagickColor(const PixelWand *, MagickPixelPacket *)
WandExport double PixelGetBlue(const PixelWand *) magick_attribute((__pure__))
WandExport void PixelSetQuantumColor(PixelWand *, const PixelPacket *)
WandExport void PixelSetColorCount(PixelWand *, const size_t)
WandExport double PixelGetMagenta(const PixelWand *) magick_attribute((__pure__))
WandExport void PixelSetBlue(PixelWand *, const double)
WandExport size_t PixelGetColorCount(const PixelWand *) magick_attribute((__pure__))
Definition: pixel-wand.c:773
WandExport void PixelSetCyanQuantum(PixelWand *, const Quantum)
WandExport void PixelSetRedQuantum(PixelWand *, const Quantum)
WandExport double PixelGetBlack(const PixelWand *) magick_attribute((__pure__))
WandExport Quantum PixelGetCyanQuantum(const PixelWand *) magick_attribute((__pure__))
WandExport void PixelSetOpacityQuantum(PixelWand *, const Quantum)
WandExport MagickBooleanType PixelSetColor(PixelWand *, const char *)
Definition: pixel-wand.c:1653
WandExport void ClearPixelWand(PixelWand *)
WandExport MagickBooleanType IsPixelWandSimilar(PixelWand *, PixelWand *, const double)
Definition: pixel-wand.c:64