pixel-wand.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2020 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.  You may
00006   obtain a copy of the License at
00007   
00008     https://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 *) 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

Generated on 6 Jan 2020 for MagickWand by  doxygen 1.6.1