MagickWand 6.9.6
pixel-wand.c File Reference
Include dependency graph for pixel-wand.c:

Go to the source code of this file.

Data Structures

struct  _PixelWand
 

Macros

#define PixelWandId   "PixelWand"
 

Functions

WandExport void ClearPixelWand (PixelWand *wand)
 
WandExport PixelWandClonePixelWand (const PixelWand *wand)
 
WandExport PixelWand ** ClonePixelWands (const PixelWand **wands, const size_t number_wands)
 
WandExport PixelWandDestroyPixelWand (PixelWand *wand)
 
WandExport PixelWand ** DestroyPixelWands (PixelWand **wand, const size_t number_wands)
 
WandExport MagickBooleanType IsPixelWandSimilar (PixelWand *p, PixelWand *q, const double fuzz)
 
WandExport MagickBooleanType IsPixelWand (const PixelWand *wand)
 
WandExport PixelWandNewPixelWand (void)
 
WandExport PixelWand ** NewPixelWands (const size_t number_wands)
 
WandExport MagickBooleanType PixelClearException (PixelWand *wand)
 
WandExport double PixelGetAlpha (const PixelWand *wand)
 
WandExport Quantum PixelGetAlphaQuantum (const PixelWand *wand)
 
WandExport double PixelGetBlack (const PixelWand *wand)
 
WandExport Quantum PixelGetBlackQuantum (const PixelWand *wand)
 
WandExport double PixelGetBlue (const PixelWand *wand)
 
WandExport Quantum PixelGetBlueQuantum (const PixelWand *wand)
 
WandExport char * PixelGetColorAsString (const PixelWand *wand)
 
WandExport char * PixelGetColorAsNormalizedString (const PixelWand *wand)
 
WandExport size_t PixelGetColorCount (const PixelWand *wand)
 
WandExport double PixelGetCyan (const PixelWand *wand)
 
WandExport Quantum PixelGetCyanQuantum (const PixelWand *wand)
 
WandExport char * PixelGetException (const PixelWand *wand, ExceptionType *severity)
 
WandExport ExceptionType PixelGetExceptionType (const PixelWand *wand)
 
WandExport double PixelGetFuzz (const PixelWand *wand)
 
WandExport double PixelGetGreen (const PixelWand *wand)
 
WandExport Quantum PixelGetGreenQuantum (const PixelWand *wand)
 
WandExport void PixelGetHSL (const PixelWand *wand, double *hue, double *saturation, double *lightness)
 
WandExport IndexPacket PixelGetIndex (const PixelWand *wand)
 
WandExport double PixelGetMagenta (const PixelWand *wand)
 
WandExport Quantum PixelGetMagentaQuantum (const PixelWand *wand)
 
WandExport void PixelGetMagickColor (const PixelWand *wand, MagickPixelPacket *color)
 
WandExport double PixelGetOpacity (const PixelWand *wand)
 
WandExport Quantum PixelGetOpacityQuantum (const PixelWand *wand)
 
WandExport void PixelGetQuantumColor (const PixelWand *wand, PixelPacket *color)
 
WandExport double PixelGetRed (const PixelWand *wand)
 
WandExport Quantum PixelGetRedQuantum (const PixelWand *wand)
 
WandExport double PixelGetYellow (const PixelWand *wand)
 
WandExport Quantum PixelGetYellowQuantum (const PixelWand *wand)
 
WandExport void PixelSetAlpha (PixelWand *wand, const double alpha)
 
WandExport void PixelSetAlphaQuantum (PixelWand *wand, const Quantum opacity)
 
WandExport void PixelSetBlack (PixelWand *wand, const double black)
 
WandExport void PixelSetBlackQuantum (PixelWand *wand, const Quantum black)
 
WandExport void PixelSetBlue (PixelWand *wand, const double blue)
 
WandExport void PixelSetBlueQuantum (PixelWand *wand, const Quantum blue)
 
WandExport MagickBooleanType PixelSetColor (PixelWand *wand, const char *color)
 
WandExport void PixelSetColorCount (PixelWand *wand, const size_t count)
 
WandExport void PixelSetColorFromWand (PixelWand *wand, const PixelWand *color)
 
WandExport void PixelSetCyan (PixelWand *wand, const double cyan)
 
WandExport void PixelSetCyanQuantum (PixelWand *wand, const Quantum cyan)
 
WandExport void PixelSetFuzz (PixelWand *wand, const double fuzz)
 
WandExport void PixelSetGreen (PixelWand *wand, const double green)
 
WandExport void PixelSetGreenQuantum (PixelWand *wand, const Quantum green)
 
WandExport void PixelSetHSL (PixelWand *wand, const double hue, const double saturation, const double lightness)
 
WandExport void PixelSetIndex (PixelWand *wand, const IndexPacket index)
 
WandExport void PixelSetMagenta (PixelWand *wand, const double magenta)
 
WandExport void PixelSetMagentaQuantum (PixelWand *wand, const Quantum magenta)
 
WandExport void PixelSetMagickColor (PixelWand *wand, const MagickPixelPacket *color)
 
WandExport void PixelSetOpacity (PixelWand *wand, const double opacity)
 
WandExport void PixelSetOpacityQuantum (PixelWand *wand, const Quantum opacity)
 
WandExport void PixelSetQuantumColor (PixelWand *wand, const PixelPacket *color)
 
WandExport void PixelSetRed (PixelWand *wand, const double red)
 
WandExport void PixelSetRedQuantum (PixelWand *wand, const Quantum red)
 
WandExport void PixelSetYellow (PixelWand *wand, const double yellow)
 
WandExport void PixelSetYellowQuantum (PixelWand *wand, const Quantum yellow)
 

Macro Definition Documentation

◆ PixelWandId

#define PixelWandId   "PixelWand"

Definition at line 58 of file pixel-wand.c.

Function Documentation

◆ ClearPixelWand()

◆ ClonePixelWand()

◆ ClonePixelWands()

WandExport PixelWand ** ClonePixelWands ( const PixelWand **  wands,
const size_t  number_wands 
)

Definition at line 192 of file pixel-wand.c.

References ClonePixelWand().

Referenced by ClonePixelIterator(), ClonePixelView(), and CloneWandView().

◆ DestroyPixelWand()

◆ DestroyPixelWands()

WandExport PixelWand ** DestroyPixelWands ( PixelWand **  wand,
const size_t  number_wands 
)

Definition at line 269 of file pixel-wand.c.

References DestroyPixelWand(), and WandSignature.

Referenced by ClearPixelIterator(), DestroyPixelIterator(), and DestroyPixelsTLS().

◆ IsPixelWand()

WandExport MagickBooleanType IsPixelWand ( const PixelWand wand)

Definition at line 353 of file pixel-wand.c.

References _PixelWand::name, PixelWandId, _PixelWand::signature, and WandSignature.

◆ IsPixelWandSimilar()

WandExport MagickBooleanType IsPixelWandSimilar ( PixelWand p,
PixelWand q,
const double  fuzz 
)

◆ NewPixelWand()

◆ NewPixelWands()

WandExport PixelWand ** NewPixelWands ( const size_t  number_wands)

◆ PixelClearException()

WandExport MagickBooleanType PixelClearException ( PixelWand wand)

◆ PixelGetAlpha()

WandExport double PixelGetAlpha ( const PixelWand wand)

◆ PixelGetAlphaQuantum()

WandExport Quantum PixelGetAlphaQuantum ( const PixelWand wand)

◆ PixelGetBlack()

WandExport double PixelGetBlack ( const PixelWand wand)

◆ PixelGetBlackQuantum()

◆ PixelGetBlue()

WandExport double PixelGetBlue ( const PixelWand wand)

◆ PixelGetBlueQuantum()

◆ PixelGetColorAsNormalizedString()

WandExport char * PixelGetColorAsNormalizedString ( const PixelWand wand)

◆ PixelGetColorAsString()

WandExport char * PixelGetColorAsString ( const PixelWand wand)

◆ PixelGetColorCount()

WandExport size_t PixelGetColorCount ( const PixelWand wand)

◆ PixelGetCyan()

WandExport double PixelGetCyan ( const PixelWand wand)

◆ PixelGetCyanQuantum()

WandExport Quantum PixelGetCyanQuantum ( const PixelWand wand)

◆ PixelGetException()

WandExport char * PixelGetException ( const PixelWand wand,
ExceptionType *  severity 
)

◆ PixelGetExceptionType()

WandExport ExceptionType PixelGetExceptionType ( const PixelWand wand)

◆ PixelGetFuzz()

WandExport double PixelGetFuzz ( const PixelWand wand)

◆ PixelGetGreen()

WandExport double PixelGetGreen ( const PixelWand wand)

◆ PixelGetGreenQuantum()

◆ PixelGetHSL()

WandExport void PixelGetHSL ( const PixelWand wand,
double *  hue,
double *  saturation,
double *  lightness 
)

◆ PixelGetIndex()

WandExport IndexPacket PixelGetIndex ( const PixelWand wand)

◆ PixelGetMagenta()

WandExport double PixelGetMagenta ( const PixelWand wand)

◆ PixelGetMagentaQuantum()

WandExport Quantum PixelGetMagentaQuantum ( const PixelWand wand)

◆ PixelGetMagickColor()

◆ PixelGetOpacity()

WandExport double PixelGetOpacity ( const PixelWand wand)

◆ PixelGetOpacityQuantum()

◆ PixelGetQuantumColor()

◆ PixelGetRed()

WandExport double PixelGetRed ( const PixelWand wand)

◆ PixelGetRedQuantum()

◆ PixelGetYellow()

WandExport double PixelGetYellow ( const PixelWand wand)

◆ PixelGetYellowQuantum()

WandExport Quantum PixelGetYellowQuantum ( const PixelWand wand)

◆ PixelSetAlpha()

WandExport void PixelSetAlpha ( PixelWand wand,
const double  alpha 
)

◆ PixelSetAlphaQuantum()

WandExport void PixelSetAlphaQuantum ( PixelWand wand,
const Quantum  opacity 
)

◆ PixelSetBlack()

WandExport void PixelSetBlack ( PixelWand wand,
const double  black 
)

◆ PixelSetBlackQuantum()

◆ PixelSetBlue()

WandExport void PixelSetBlue ( PixelWand wand,
const double  blue 
)

◆ PixelSetBlueQuantum()

WandExport void PixelSetBlueQuantum ( PixelWand wand,
const Quantum  blue 
)

◆ PixelSetColor()

WandExport MagickBooleanType PixelSetColor ( PixelWand wand,
const char *  color 
)

◆ PixelSetColorCount()

WandExport void PixelSetColorCount ( PixelWand wand,
const size_t  count 
)

◆ PixelSetColorFromWand()

WandExport void PixelSetColorFromWand ( PixelWand wand,
const PixelWand color 
)

◆ PixelSetCyan()

WandExport void PixelSetCyan ( PixelWand wand,
const double  cyan 
)

◆ PixelSetCyanQuantum()

WandExport void PixelSetCyanQuantum ( PixelWand wand,
const Quantum  cyan 
)

◆ PixelSetFuzz()

WandExport void PixelSetFuzz ( PixelWand wand,
const double  fuzz 
)

◆ PixelSetGreen()

WandExport void PixelSetGreen ( PixelWand wand,
const double  green 
)

◆ PixelSetGreenQuantum()

WandExport void PixelSetGreenQuantum ( PixelWand wand,
const Quantum  green 
)

◆ PixelSetHSL()

WandExport void PixelSetHSL ( PixelWand wand,
const double  hue,
const double  saturation,
const double  lightness 
)

◆ PixelSetIndex()

◆ PixelSetMagenta()

WandExport void PixelSetMagenta ( PixelWand wand,
const double  magenta 
)

◆ PixelSetMagentaQuantum()

WandExport void PixelSetMagentaQuantum ( PixelWand wand,
const Quantum  magenta 
)

◆ PixelSetMagickColor()

WandExport void PixelSetMagickColor ( PixelWand wand,
const MagickPixelPacket *  color 
)

◆ PixelSetOpacity()

WandExport void PixelSetOpacity ( PixelWand wand,
const double  opacity 
)

◆ PixelSetOpacityQuantum()

WandExport void PixelSetOpacityQuantum ( PixelWand wand,
const Quantum  opacity 
)

◆ PixelSetQuantumColor()

◆ PixelSetRed()

WandExport void PixelSetRed ( PixelWand wand,
const double  red 
)

◆ PixelSetRedQuantum()

WandExport void PixelSetRedQuantum ( PixelWand wand,
const Quantum  red 
)

◆ PixelSetYellow()

WandExport void PixelSetYellow ( PixelWand wand,
const double  yellow 
)

◆ PixelSetYellowQuantum()

WandExport void PixelSetYellowQuantum ( PixelWand wand,
const Quantum  yellow 
)