• Home
  • Raw
  • Download

Lines Matching refs:wand

109 WandExport void ClearPixelWand(PixelWand *wand)  in ClearPixelWand()  argument
111 assert(wand != (PixelWand *) NULL); in ClearPixelWand()
112 assert(wand->signature == MagickWandSignature); in ClearPixelWand()
113 if (wand->debug != MagickFalse) in ClearPixelWand()
114 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in ClearPixelWand()
115 ClearMagickException(wand->exception); in ClearPixelWand()
116 wand->pixel.colorspace=sRGBColorspace; in ClearPixelWand()
117 wand->debug=IsEventLogging(); in ClearPixelWand()
142 WandExport PixelWand *ClonePixelWand(const PixelWand *wand) in ClonePixelWand() argument
147 assert(wand != (PixelWand *) NULL); in ClonePixelWand()
148 assert(wand->signature == MagickWandSignature); in ClonePixelWand()
149 if (wand->debug != MagickFalse) in ClonePixelWand()
150 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in ClonePixelWand()
154 wand->name); in ClonePixelWand()
160 InheritException(clone_wand->exception,wand->exception); in ClonePixelWand()
161 clone_wand->pixel=wand->pixel; in ClonePixelWand()
162 clone_wand->count=wand->count; in ClonePixelWand()
236 WandExport PixelWand *DestroyPixelWand(PixelWand *wand) in DestroyPixelWand() argument
238 assert(wand != (PixelWand *) NULL); in DestroyPixelWand()
239 assert(wand->signature == MagickWandSignature); in DestroyPixelWand()
240 if (wand->debug != MagickFalse) in DestroyPixelWand()
241 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in DestroyPixelWand()
242 wand->exception=DestroyExceptionInfo(wand->exception); in DestroyPixelWand()
243 wand->signature=(~MagickWandSignature); in DestroyPixelWand()
244 RelinquishWandId(wand->id); in DestroyPixelWand()
245 wand=(PixelWand *) RelinquishMagickMemory(wand); in DestroyPixelWand()
246 return(wand); in DestroyPixelWand()
275 WandExport PixelWand **DestroyPixelWands(PixelWand **wand, in DestroyPixelWands() argument
281 assert(wand != (PixelWand **) NULL); in DestroyPixelWands()
282 assert(*wand != (PixelWand *) NULL); in DestroyPixelWands()
283 assert((*wand)->signature == MagickWandSignature); in DestroyPixelWands()
284 if ((*wand)->debug != MagickFalse) in DestroyPixelWands()
285 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",(*wand)->name); in DestroyPixelWands()
287 wand[i]=DestroyPixelWand(wand[i]); in DestroyPixelWands()
288 wand=(PixelWand **) RelinquishMagickMemory(wand); in DestroyPixelWands()
289 return(wand); in DestroyPixelWands()
359 WandExport MagickBooleanType IsPixelWand(const PixelWand *wand) in IsPixelWand() argument
361 if (wand == (const PixelWand *) NULL) in IsPixelWand()
363 if (wand->signature != MagickWandSignature) in IsPixelWand()
365 if (LocaleNCompare(wand->name,PixelWandId,strlen(PixelWandId)) != 0) in IsPixelWand()
394 *wand; in NewPixelWand() local
403 wand=(PixelWand *) AcquireMagickMemory(sizeof(*wand)); in NewPixelWand()
404 if (wand == (PixelWand *) NULL) in NewPixelWand()
407 (void) ResetMagickMemory(wand,0,sizeof(*wand)); in NewPixelWand()
408 wand->id=AcquireWandId(); in NewPixelWand()
409 (void) FormatLocaleString(wand->name,MagickPathExtent,"%s-%.20g",PixelWandId, in NewPixelWand()
410 (double) wand->id); in NewPixelWand()
411 wand->exception=AcquireExceptionInfo(); in NewPixelWand()
412 GetPixelInfo((Image *) NULL,&wand->pixel); in NewPixelWand()
413 wand->debug=IsEventLogging(); in NewPixelWand()
414 if (wand->debug != MagickFalse) in NewPixelWand()
415 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in NewPixelWand()
416 wand->signature=MagickWandSignature; in NewPixelWand()
417 return(wand); in NewPixelWand()
482 WandExport MagickBooleanType PixelClearException(PixelWand *wand) in PixelClearException() argument
484 assert(wand != (PixelWand *) NULL); in PixelClearException()
485 assert(wand->signature == MagickWandSignature); in PixelClearException()
486 if (wand->debug != MagickFalse) in PixelClearException()
487 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelClearException()
488 ClearMagickException(wand->exception); in PixelClearException()
514 WandExport double PixelGetAlpha(const PixelWand *wand) in PixelGetAlpha() argument
516 assert(wand != (const PixelWand *) NULL); in PixelGetAlpha()
517 assert(wand->signature == MagickWandSignature); in PixelGetAlpha()
518 if (wand->debug != MagickFalse) in PixelGetAlpha()
519 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetAlpha()
520 return((double) QuantumScale*wand->pixel.alpha); in PixelGetAlpha()
545 WandExport Quantum PixelGetAlphaQuantum(const PixelWand *wand) in PixelGetAlphaQuantum() argument
547 assert(wand != (const PixelWand *) NULL); in PixelGetAlphaQuantum()
548 assert(wand->signature == MagickWandSignature); in PixelGetAlphaQuantum()
549 if (wand->debug != MagickFalse) in PixelGetAlphaQuantum()
550 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetAlphaQuantum()
551 return(ClampToQuantum(wand->pixel.alpha)); in PixelGetAlphaQuantum()
576 WandExport double PixelGetBlack(const PixelWand *wand) in PixelGetBlack() argument
578 assert(wand != (const PixelWand *) NULL); in PixelGetBlack()
579 assert(wand->signature == MagickWandSignature); in PixelGetBlack()
580 if (wand->debug != MagickFalse) in PixelGetBlack()
581 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetBlack()
582 return((double) QuantumScale*wand->pixel.black); in PixelGetBlack()
607 WandExport Quantum PixelGetBlackQuantum(const PixelWand *wand) in PixelGetBlackQuantum() argument
609 assert(wand != (const PixelWand *) NULL); in PixelGetBlackQuantum()
610 assert(wand->signature == MagickWandSignature); in PixelGetBlackQuantum()
611 if (wand->debug != MagickFalse) in PixelGetBlackQuantum()
612 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetBlackQuantum()
613 return(ClampToQuantum(wand->pixel.black)); in PixelGetBlackQuantum()
638 WandExport double PixelGetBlue(const PixelWand *wand) in PixelGetBlue() argument
640 assert(wand != (const PixelWand *) NULL); in PixelGetBlue()
641 assert(wand->signature == MagickWandSignature); in PixelGetBlue()
642 if (wand->debug != MagickFalse) in PixelGetBlue()
643 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetBlue()
644 return((double) QuantumScale*wand->pixel.blue); in PixelGetBlue()
669 WandExport Quantum PixelGetBlueQuantum(const PixelWand *wand) in PixelGetBlueQuantum() argument
671 assert(wand != (const PixelWand *) NULL); in PixelGetBlueQuantum()
672 assert(wand->signature == MagickWandSignature); in PixelGetBlueQuantum()
673 if (wand->debug != MagickFalse) in PixelGetBlueQuantum()
674 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetBlueQuantum()
675 return(ClampToQuantum(wand->pixel.blue)); in PixelGetBlueQuantum()
700 WandExport char *PixelGetColorAsString(const PixelWand *wand) in PixelGetColorAsString() argument
708 assert(wand != (const PixelWand *) NULL); in PixelGetColorAsString()
709 assert(wand->signature == MagickWandSignature); in PixelGetColorAsString()
710 if (wand->debug != MagickFalse) in PixelGetColorAsString()
711 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetColorAsString()
712 pixel=wand->pixel; in PixelGetColorAsString()
741 WandExport char *PixelGetColorAsNormalizedString(const PixelWand *wand) in PixelGetColorAsNormalizedString() argument
746 assert(wand != (const PixelWand *) NULL); in PixelGetColorAsNormalizedString()
747 assert(wand->signature == MagickWandSignature); in PixelGetColorAsNormalizedString()
748 if (wand->debug != MagickFalse) in PixelGetColorAsNormalizedString()
749 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetColorAsNormalizedString()
751 (QuantumScale*wand->pixel.red),(double) (QuantumScale*wand->pixel.green), in PixelGetColorAsNormalizedString()
752 (double) (QuantumScale*wand->pixel.blue)); in PixelGetColorAsNormalizedString()
753 if (wand->pixel.colorspace == CMYKColorspace) in PixelGetColorAsNormalizedString()
755 (double) (QuantumScale*wand->pixel.black)); in PixelGetColorAsNormalizedString()
756 if (wand->pixel.alpha_trait != UndefinedPixelTrait) in PixelGetColorAsNormalizedString()
758 (double) (QuantumScale*wand->pixel.alpha)); in PixelGetColorAsNormalizedString()
784 WandExport size_t PixelGetColorCount(const PixelWand *wand) in PixelGetColorCount() argument
786 assert(wand != (const PixelWand *) NULL); in PixelGetColorCount()
787 assert(wand->signature == MagickWandSignature); in PixelGetColorCount()
788 if (wand->debug != MagickFalse) in PixelGetColorCount()
789 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetColorCount()
790 return(wand->count); in PixelGetColorCount()
815 WandExport double PixelGetCyan(const PixelWand *wand) in PixelGetCyan() argument
817 assert(wand != (const PixelWand *) NULL); in PixelGetCyan()
818 assert(wand->signature == MagickWandSignature); in PixelGetCyan()
819 if (wand->debug != MagickFalse) in PixelGetCyan()
820 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetCyan()
821 return((double) QuantumScale*wand->pixel.red); in PixelGetCyan()
846 WandExport Quantum PixelGetCyanQuantum(const PixelWand *wand) in PixelGetCyanQuantum() argument
848 assert(wand != (const PixelWand *) NULL); in PixelGetCyanQuantum()
849 assert(wand->signature == MagickWandSignature); in PixelGetCyanQuantum()
850 if (wand->debug != MagickFalse) in PixelGetCyanQuantum()
851 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetCyanQuantum()
852 return(ClampToQuantum(wand->pixel.red)); in PixelGetCyanQuantum()
880 WandExport char *PixelGetException(const PixelWand *wand, in PixelGetException() argument
886 assert(wand != (const PixelWand *) NULL); in PixelGetException()
887 assert(wand->signature == MagickWandSignature); in PixelGetException()
888 if (wand->debug != MagickFalse) in PixelGetException()
889 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetException()
891 *severity=wand->exception->severity; in PixelGetException()
896 wand->name); in PixelGetException()
898 if (wand->exception->reason != (char *) NULL) in PixelGetException()
900 wand->exception->severity,wand->exception->reason),MagickPathExtent); in PixelGetException()
901 if (wand->exception->description != (char *) NULL) in PixelGetException()
905 wand->exception->severity,wand->exception->description), in PixelGetException()
935 WandExport ExceptionType PixelGetExceptionType(const PixelWand *wand) in PixelGetExceptionType() argument
937 assert(wand != (const PixelWand *) NULL); in PixelGetExceptionType()
938 assert(wand->signature == MagickWandSignature); in PixelGetExceptionType()
939 if (wand->debug != MagickFalse) in PixelGetExceptionType()
940 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetExceptionType()
941 return(wand->exception->severity); in PixelGetExceptionType()
966 WandExport double PixelGetFuzz(const PixelWand *wand) in PixelGetFuzz() argument
968 assert(wand != (const PixelWand *) NULL); in PixelGetFuzz()
969 assert(wand->signature == MagickWandSignature); in PixelGetFuzz()
970 if (wand->debug != MagickFalse) in PixelGetFuzz()
971 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetFuzz()
972 return((double) wand->pixel.fuzz); in PixelGetFuzz()
997 WandExport double PixelGetGreen(const PixelWand *wand) in PixelGetGreen() argument
999 assert(wand != (const PixelWand *) NULL); in PixelGetGreen()
1000 assert(wand->signature == MagickWandSignature); in PixelGetGreen()
1001 if (wand->debug != MagickFalse) in PixelGetGreen()
1002 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetGreen()
1003 return((double) QuantumScale*wand->pixel.green); in PixelGetGreen()
1028 WandExport Quantum PixelGetGreenQuantum(const PixelWand *wand) in PixelGetGreenQuantum() argument
1030 assert(wand != (const PixelWand *) NULL); in PixelGetGreenQuantum()
1031 assert(wand->signature == MagickWandSignature); in PixelGetGreenQuantum()
1032 if (wand->debug != MagickFalse) in PixelGetGreenQuantum()
1033 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetGreenQuantum()
1034 return(ClampToQuantum(wand->pixel.green)); in PixelGetGreenQuantum()
1063 WandExport void PixelGetHSL(const PixelWand *wand,double *hue, in PixelGetHSL() argument
1066 assert(wand != (const PixelWand *) NULL); in PixelGetHSL()
1067 assert(wand->signature == MagickWandSignature); in PixelGetHSL()
1068 if (wand->debug != MagickFalse) in PixelGetHSL()
1069 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetHSL()
1070 ConvertRGBToHSL((double) ClampToQuantum(wand->pixel.red),(double) in PixelGetHSL()
1071 ClampToQuantum(wand->pixel.green),(double) ClampToQuantum(wand->pixel.blue), in PixelGetHSL()
1097 WandExport Quantum PixelGetIndex(const PixelWand *wand) in PixelGetIndex() argument
1099 assert(wand != (const PixelWand *) NULL); in PixelGetIndex()
1100 assert(wand->signature == MagickWandSignature); in PixelGetIndex()
1101 if (wand->debug != MagickFalse) in PixelGetIndex()
1102 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetIndex()
1103 return((Quantum) wand->pixel.black); in PixelGetIndex()
1128 WandExport double PixelGetMagenta(const PixelWand *wand) in PixelGetMagenta() argument
1130 assert(wand != (const PixelWand *) NULL); in PixelGetMagenta()
1131 assert(wand->signature == MagickWandSignature); in PixelGetMagenta()
1132 if (wand->debug != MagickFalse) in PixelGetMagenta()
1133 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetMagenta()
1134 return((double) QuantumScale*wand->pixel.green); in PixelGetMagenta()
1159 WandExport Quantum PixelGetMagentaQuantum(const PixelWand *wand) in PixelGetMagentaQuantum() argument
1161 assert(wand != (const PixelWand *) NULL); in PixelGetMagentaQuantum()
1162 assert(wand->signature == MagickWandSignature); in PixelGetMagentaQuantum()
1163 if (wand->debug != MagickFalse) in PixelGetMagentaQuantum()
1164 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetMagentaQuantum()
1165 return(ClampToQuantum(wand->pixel.green)); in PixelGetMagentaQuantum()
1192 WandExport void PixelGetMagickColor(const PixelWand *wand, in PixelGetMagickColor() argument
1195 assert(wand != (const PixelWand *) NULL); in PixelGetMagickColor()
1196 assert(wand->signature == MagickWandSignature); in PixelGetMagickColor()
1197 if (wand->debug != MagickFalse) in PixelGetMagickColor()
1198 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetMagickColor()
1200 *color=wand->pixel; in PixelGetMagickColor()
1225 WandExport PixelInfo PixelGetPixel(const PixelWand *wand) in PixelGetPixel() argument
1227 assert(wand != (const PixelWand *) NULL); in PixelGetPixel()
1228 assert(wand->signature == MagickWandSignature); in PixelGetPixel()
1229 if (wand->debug != MagickFalse) in PixelGetPixel()
1230 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetPixel()
1231 return(wand->pixel); in PixelGetPixel()
1258 WandExport void PixelGetQuantumPacket(const PixelWand *wand,PixelInfo *packet) in PixelGetQuantumPacket() argument
1260 assert(wand != (const PixelWand *) NULL); in PixelGetQuantumPacket()
1261 assert(wand->signature == MagickWandSignature); in PixelGetQuantumPacket()
1262 if (wand->debug != MagickFalse) in PixelGetQuantumPacket()
1263 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetQuantumPacket()
1265 packet->storage_class=wand->pixel.storage_class; in PixelGetQuantumPacket()
1266 packet->colorspace=wand->pixel.colorspace; in PixelGetQuantumPacket()
1267 packet->depth=wand->pixel.depth; in PixelGetQuantumPacket()
1268 packet->fuzz=wand->pixel.fuzz; in PixelGetQuantumPacket()
1269 packet->count=wand->pixel.count; in PixelGetQuantumPacket()
1270 packet->index=wand->pixel.index; in PixelGetQuantumPacket()
1271 packet->alpha=(double) ClampToQuantum(wand->pixel.alpha); in PixelGetQuantumPacket()
1272 packet->alpha_trait=wand->pixel.alpha_trait; in PixelGetQuantumPacket()
1273 if (wand->pixel.colorspace == CMYKColorspace) in PixelGetQuantumPacket()
1275 packet->red=(double) ClampToQuantum(QuantumRange-(wand->pixel.red* in PixelGetQuantumPacket()
1276 (QuantumRange-wand->pixel.black)+wand->pixel.black)); in PixelGetQuantumPacket()
1277 packet->green=(double) ClampToQuantum(QuantumRange-(wand->pixel.green* in PixelGetQuantumPacket()
1278 (QuantumRange-wand->pixel.black)+wand->pixel.black)); in PixelGetQuantumPacket()
1279 packet->blue=(double) ClampToQuantum(QuantumRange-(wand->pixel.blue* in PixelGetQuantumPacket()
1280 (QuantumRange-wand->pixel.black)+wand->pixel.black)); in PixelGetQuantumPacket()
1281 packet->black=(double) ClampToQuantum(wand->pixel.black); in PixelGetQuantumPacket()
1284 packet->red=(double) ClampToQuantum(wand->pixel.red); in PixelGetQuantumPacket()
1285 packet->green=(double) ClampToQuantum(wand->pixel.green); in PixelGetQuantumPacket()
1286 packet->blue=(double) ClampToQuantum(wand->pixel.blue); in PixelGetQuantumPacket()
1314 WandExport void PixelGetQuantumPixel(const Image *image,const PixelWand *wand, in PixelGetQuantumPixel() argument
1317 assert(wand != (const PixelWand *) NULL); in PixelGetQuantumPixel()
1318 assert(wand->signature == MagickWandSignature); in PixelGetQuantumPixel()
1319 if (wand->debug != MagickFalse) in PixelGetQuantumPixel()
1320 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetQuantumPixel()
1322 SetPixelAlpha(image,ClampToQuantum(wand->pixel.alpha),pixel); in PixelGetQuantumPixel()
1323 if (wand->pixel.colorspace == CMYKColorspace) in PixelGetQuantumPixel()
1326 (wand->pixel.red*(QuantumRange-wand->pixel.black)+wand->pixel.black)), in PixelGetQuantumPixel()
1329 (wand->pixel.green*(QuantumRange-wand->pixel.black)+wand->pixel.black)), in PixelGetQuantumPixel()
1332 (wand->pixel.blue*(QuantumRange-wand->pixel.black)+wand->pixel.black)), in PixelGetQuantumPixel()
1334 SetPixelBlack(image,ClampToQuantum(wand->pixel.black),pixel); in PixelGetQuantumPixel()
1337 SetPixelRed(image,ClampToQuantum(wand->pixel.red),pixel); in PixelGetQuantumPixel()
1338 SetPixelGreen(image,ClampToQuantum(wand->pixel.green),pixel); in PixelGetQuantumPixel()
1339 SetPixelBlue(image,ClampToQuantum(wand->pixel.blue),pixel); in PixelGetQuantumPixel()
1364 WandExport double PixelGetRed(const PixelWand *wand) in PixelGetRed() argument
1366 assert(wand != (const PixelWand *) NULL); in PixelGetRed()
1367 assert(wand->signature == MagickWandSignature); in PixelGetRed()
1368 if (wand->debug != MagickFalse) in PixelGetRed()
1369 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetRed()
1370 return((double) QuantumScale*wand->pixel.red); in PixelGetRed()
1395 WandExport Quantum PixelGetRedQuantum(const PixelWand *wand) in PixelGetRedQuantum() argument
1397 assert(wand != (const PixelWand *) NULL); in PixelGetRedQuantum()
1398 assert(wand->signature == MagickWandSignature); in PixelGetRedQuantum()
1399 if (wand->debug != MagickFalse) in PixelGetRedQuantum()
1400 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetRedQuantum()
1401 return(ClampToQuantum(wand->pixel.red)); in PixelGetRedQuantum()
1426 WandExport double PixelGetYellow(const PixelWand *wand) in PixelGetYellow() argument
1428 assert(wand != (const PixelWand *) NULL); in PixelGetYellow()
1429 assert(wand->signature == MagickWandSignature); in PixelGetYellow()
1430 if (wand->debug != MagickFalse) in PixelGetYellow()
1431 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetYellow()
1432 return((double) QuantumScale*wand->pixel.blue); in PixelGetYellow()
1457 WandExport Quantum PixelGetYellowQuantum(const PixelWand *wand) in PixelGetYellowQuantum() argument
1459 assert(wand != (const PixelWand *) NULL); in PixelGetYellowQuantum()
1460 assert(wand->signature == MagickWandSignature); in PixelGetYellowQuantum()
1461 if (wand->debug != MagickFalse) in PixelGetYellowQuantum()
1462 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelGetYellowQuantum()
1463 return(ClampToQuantum(wand->pixel.blue)); in PixelGetYellowQuantum()
1491 WandExport void PixelSetAlpha(PixelWand *wand,const double alpha) in PixelSetAlpha() argument
1493 assert(wand != (const PixelWand *) NULL); in PixelSetAlpha()
1494 assert(wand->signature == MagickWandSignature); in PixelSetAlpha()
1495 if (wand->debug != MagickFalse) in PixelSetAlpha()
1496 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetAlpha()
1497 wand->pixel.alpha=(double) ClampToQuantum(QuantumRange*alpha); in PixelSetAlpha()
1524 WandExport void PixelSetAlphaQuantum(PixelWand *wand,const Quantum alpha) in PixelSetAlphaQuantum() argument
1526 assert(wand != (const PixelWand *) NULL); in PixelSetAlphaQuantum()
1527 assert(wand->signature == MagickWandSignature); in PixelSetAlphaQuantum()
1528 if (wand->debug != MagickFalse) in PixelSetAlphaQuantum()
1529 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetAlphaQuantum()
1530 wand->pixel.alpha=(double) alpha; in PixelSetAlphaQuantum()
1557 WandExport void PixelSetBlack(PixelWand *wand,const double black) in PixelSetBlack() argument
1559 assert(wand != (const PixelWand *) NULL); in PixelSetBlack()
1560 assert(wand->signature == MagickWandSignature); in PixelSetBlack()
1561 if (wand->debug != MagickFalse) in PixelSetBlack()
1562 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetBlack()
1563 wand->pixel.black=(double) ClampToQuantum(QuantumRange*black); in PixelSetBlack()
1590 WandExport void PixelSetBlackQuantum(PixelWand *wand,const Quantum black) in PixelSetBlackQuantum() argument
1592 assert(wand != (const PixelWand *) NULL); in PixelSetBlackQuantum()
1593 assert(wand->signature == MagickWandSignature); in PixelSetBlackQuantum()
1594 if (wand->debug != MagickFalse) in PixelSetBlackQuantum()
1595 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetBlackQuantum()
1596 wand->pixel.black=(double) black; in PixelSetBlackQuantum()
1623 WandExport void PixelSetBlue(PixelWand *wand,const double blue) in PixelSetBlue() argument
1625 assert(wand != (const PixelWand *) NULL); in PixelSetBlue()
1626 assert(wand->signature == MagickWandSignature); in PixelSetBlue()
1627 if (wand->debug != MagickFalse) in PixelSetBlue()
1628 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetBlue()
1629 wand->pixel.blue=(double) ClampToQuantum(QuantumRange*blue); in PixelSetBlue()
1656 WandExport void PixelSetBlueQuantum(PixelWand *wand,const Quantum blue) in PixelSetBlueQuantum() argument
1658 assert(wand != (const PixelWand *) NULL); in PixelSetBlueQuantum()
1659 assert(wand->signature == MagickWandSignature); in PixelSetBlueQuantum()
1660 if (wand->debug != MagickFalse) in PixelSetBlueQuantum()
1661 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetBlueQuantum()
1662 wand->pixel.blue=(double) blue; in PixelSetBlueQuantum()
1690 WandExport MagickBooleanType PixelSetColor(PixelWand *wand,const char *color) in PixelSetColor() argument
1698 assert(wand != (const PixelWand *) NULL); in PixelSetColor()
1699 assert(wand->signature == MagickWandSignature); in PixelSetColor()
1700 if (wand->debug != MagickFalse) in PixelSetColor()
1701 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetColor()
1702 status=QueryColorCompliance(color,AllCompliance,&pixel,wand->exception); in PixelSetColor()
1704 wand->pixel=pixel; in PixelSetColor()
1732 WandExport void PixelSetColorCount(PixelWand *wand,const size_t count) in PixelSetColorCount() argument
1734 assert(wand != (const PixelWand *) NULL); in PixelSetColorCount()
1735 assert(wand->signature == MagickWandSignature); in PixelSetColorCount()
1736 if (wand->debug != MagickFalse) in PixelSetColorCount()
1737 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetColorCount()
1738 wand->count=count; in PixelSetColorCount()
1765 WandExport void PixelSetColorFromWand(PixelWand *wand,const PixelWand *color) in PixelSetColorFromWand() argument
1767 assert(wand != (const PixelWand *) NULL); in PixelSetColorFromWand()
1768 assert(wand->signature == MagickWandSignature); in PixelSetColorFromWand()
1769 if (wand->debug != MagickFalse) in PixelSetColorFromWand()
1770 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetColorFromWand()
1772 wand->pixel=color->pixel; in PixelSetColorFromWand()
1799 WandExport void PixelSetCyan(PixelWand *wand,const double cyan) in PixelSetCyan() argument
1801 assert(wand != (const PixelWand *) NULL); in PixelSetCyan()
1802 assert(wand->signature == MagickWandSignature); in PixelSetCyan()
1803 if (wand->debug != MagickFalse) in PixelSetCyan()
1804 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetCyan()
1805 wand->pixel.red=(double) ClampToQuantum(QuantumRange*cyan); in PixelSetCyan()
1832 WandExport void PixelSetCyanQuantum(PixelWand *wand,const Quantum cyan) in PixelSetCyanQuantum() argument
1834 assert(wand != (const PixelWand *) NULL); in PixelSetCyanQuantum()
1835 assert(wand->signature == MagickWandSignature); in PixelSetCyanQuantum()
1836 if (wand->debug != MagickFalse) in PixelSetCyanQuantum()
1837 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetCyanQuantum()
1838 wand->pixel.red=(double) cyan; in PixelSetCyanQuantum()
1865 WandExport void PixelSetFuzz(PixelWand *wand,const double fuzz) in PixelSetFuzz() argument
1867 assert(wand != (const PixelWand *) NULL); in PixelSetFuzz()
1868 assert(wand->signature == MagickWandSignature); in PixelSetFuzz()
1869 if (wand->debug != MagickFalse) in PixelSetFuzz()
1870 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetFuzz()
1871 wand->pixel.fuzz=(double) fuzz; in PixelSetFuzz()
1898 WandExport void PixelSetGreen(PixelWand *wand,const double green) in PixelSetGreen() argument
1900 assert(wand != (const PixelWand *) NULL); in PixelSetGreen()
1901 assert(wand->signature == MagickWandSignature); in PixelSetGreen()
1902 if (wand->debug != MagickFalse) in PixelSetGreen()
1903 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetGreen()
1904 wand->pixel.green=(double) ClampToQuantum(QuantumRange*green); in PixelSetGreen()
1931 WandExport void PixelSetGreenQuantum(PixelWand *wand,const Quantum green) in PixelSetGreenQuantum() argument
1933 assert(wand != (const PixelWand *) NULL); in PixelSetGreenQuantum()
1934 assert(wand->signature == MagickWandSignature); in PixelSetGreenQuantum()
1935 if (wand->debug != MagickFalse) in PixelSetGreenQuantum()
1936 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetGreenQuantum()
1937 wand->pixel.green=(double) green; in PixelSetGreenQuantum()
1966 WandExport void PixelSetHSL(PixelWand *wand,const double hue, in PixelSetHSL() argument
1974 assert(wand != (const PixelWand *) NULL); in PixelSetHSL()
1975 assert(wand->signature == MagickWandSignature); in PixelSetHSL()
1976 if (wand->debug != MagickFalse) in PixelSetHSL()
1977 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetHSL()
1979 wand->pixel.red=(double) red; in PixelSetHSL()
1980 wand->pixel.green=(double) green; in PixelSetHSL()
1981 wand->pixel.blue=(double) blue; in PixelSetHSL()
2008 WandExport void PixelSetIndex(PixelWand *wand,const Quantum index) in PixelSetIndex() argument
2010 assert(wand != (const PixelWand *) NULL); in PixelSetIndex()
2011 assert(wand->signature == MagickWandSignature); in PixelSetIndex()
2012 if (wand->debug != MagickFalse) in PixelSetIndex()
2013 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetIndex()
2014 wand->pixel.index=(double) index; in PixelSetIndex()
2041 WandExport void PixelSetMagenta(PixelWand *wand,const double magenta) in PixelSetMagenta() argument
2043 assert(wand != (const PixelWand *) NULL); in PixelSetMagenta()
2044 assert(wand->signature == MagickWandSignature); in PixelSetMagenta()
2045 if (wand->debug != MagickFalse) in PixelSetMagenta()
2046 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetMagenta()
2047 wand->pixel.green=(double) ClampToQuantum(QuantumRange*magenta); in PixelSetMagenta()
2075 WandExport void PixelSetMagentaQuantum(PixelWand *wand,const Quantum magenta) in PixelSetMagentaQuantum() argument
2077 assert(wand != (const PixelWand *) NULL); in PixelSetMagentaQuantum()
2078 assert(wand->signature == MagickWandSignature); in PixelSetMagentaQuantum()
2079 if (wand->debug != MagickFalse) in PixelSetMagentaQuantum()
2080 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetMagentaQuantum()
2081 wand->pixel.green=(double) magenta; in PixelSetMagentaQuantum()
2108 WandExport void PixelSetPixelColor(PixelWand *wand,const PixelInfo *color) in PixelSetPixelColor() argument
2110 assert(wand != (const PixelWand *) NULL); in PixelSetPixelColor()
2111 assert(wand->signature == MagickWandSignature); in PixelSetPixelColor()
2112 if (wand->debug != MagickFalse) in PixelSetPixelColor()
2113 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetPixelColor()
2115 wand->pixel=(*color); in PixelSetPixelColor()
2144 PixelWand *wand) in PixelSetQuantumPixel() argument
2146 assert(wand != (const PixelWand *) NULL); in PixelSetQuantumPixel()
2147 assert(wand->signature == MagickWandSignature); in PixelSetQuantumPixel()
2148 if (wand->debug != MagickFalse) in PixelSetQuantumPixel()
2149 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetQuantumPixel()
2151 wand->pixel.red=(double) GetPixelRed(image,pixel); in PixelSetQuantumPixel()
2152 wand->pixel.green=(double) GetPixelGreen(image,pixel); in PixelSetQuantumPixel()
2153 wand->pixel.blue=(double) GetPixelBlue(image,pixel); in PixelSetQuantumPixel()
2154 wand->pixel.black=(double) GetPixelBlack(image,pixel); in PixelSetQuantumPixel()
2155 wand->pixel.alpha=(double) GetPixelAlpha(image,pixel); in PixelSetQuantumPixel()
2156 wand->pixel.alpha_trait=GetPixelAlpha(image,pixel) != OpaqueAlpha ? in PixelSetQuantumPixel()
2184 WandExport void PixelSetRed(PixelWand *wand,const double red) in PixelSetRed() argument
2186 assert(wand != (const PixelWand *) NULL); in PixelSetRed()
2187 assert(wand->signature == MagickWandSignature); in PixelSetRed()
2188 if (wand->debug != MagickFalse) in PixelSetRed()
2189 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetRed()
2190 wand->pixel.red=(double) ClampToQuantum(QuantumRange*red); in PixelSetRed()
2217 WandExport void PixelSetRedQuantum(PixelWand *wand,const Quantum red) in PixelSetRedQuantum() argument
2219 assert(wand != (const PixelWand *) NULL); in PixelSetRedQuantum()
2220 assert(wand->signature == MagickWandSignature); in PixelSetRedQuantum()
2221 if (wand->debug != MagickFalse) in PixelSetRedQuantum()
2222 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetRedQuantum()
2223 wand->pixel.red=(double) red; in PixelSetRedQuantum()
2250 WandExport void PixelSetYellow(PixelWand *wand,const double yellow) in PixelSetYellow() argument
2252 assert(wand != (const PixelWand *) NULL); in PixelSetYellow()
2253 assert(wand->signature == MagickWandSignature); in PixelSetYellow()
2254 if (wand->debug != MagickFalse) in PixelSetYellow()
2255 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetYellow()
2256 wand->pixel.blue=(double) ClampToQuantum(QuantumRange*yellow); in PixelSetYellow()
2283 WandExport void PixelSetYellowQuantum(PixelWand *wand,const Quantum yellow) in PixelSetYellowQuantum() argument
2285 assert(wand != (const PixelWand *) NULL); in PixelSetYellowQuantum()
2286 assert(wand->signature == MagickWandSignature); in PixelSetYellowQuantum()
2287 if (wand->debug != MagickFalse) in PixelSetYellowQuantum()
2288 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); in PixelSetYellowQuantum()
2289 wand->pixel.blue=(double) yellow; in PixelSetYellowQuantum()