| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 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 *), |
|---|
| 35 | PixelGetBlack(const PixelWand *), |
|---|
| 36 | PixelGetBlue(const PixelWand *), |
|---|
| 37 | PixelGetCyan(const PixelWand *), |
|---|
| 38 | PixelGetFuzz(const PixelWand *), |
|---|
| 39 | PixelGetGreen(const PixelWand *), |
|---|
| 40 | PixelGetMagenta(const PixelWand *), |
|---|
| 41 | PixelGetOpacity(const PixelWand *), |
|---|
| 42 | PixelGetRed(const PixelWand *), |
|---|
| 43 | PixelGetYellow(const PixelWand *); |
|---|
| 44 | |
|---|
| 45 | extern WandExport ExceptionType |
|---|
| 46 | PixelGetExceptionType(const PixelWand *); |
|---|
| 47 | |
|---|
| 48 | extern WandExport IndexPacket |
|---|
| 49 | PixelGetIndex(const PixelWand *); |
|---|
| 50 | |
|---|
| 51 | extern WandExport MagickBooleanType |
|---|
| 52 | IsPixelWand(const PixelWand *), |
|---|
| 53 | IsPixelWandSimilar(PixelWand *,PixelWand *,const double), |
|---|
| 54 | PixelClearException(PixelWand *), |
|---|
| 55 | PixelSetColor(PixelWand *,const char *); |
|---|
| 56 | |
|---|
| 57 | extern WandExport PixelWand |
|---|
| 58 | *ClonePixelWand(const PixelWand *), |
|---|
| 59 | **ClonePixelWands(const PixelWand **,const unsigned long), |
|---|
| 60 | *DestroyPixelWand(PixelWand *), |
|---|
| 61 | **DestroyPixelWands(PixelWand **,const unsigned long), |
|---|
| 62 | *NewPixelWand(void), |
|---|
| 63 | **NewPixelWands(const unsigned long); |
|---|
| 64 | |
|---|
| 65 | extern WandExport Quantum |
|---|
| 66 | PixelGetAlphaQuantum(const PixelWand *), |
|---|
| 67 | PixelGetBlackQuantum(const PixelWand *), |
|---|
| 68 | PixelGetBlueQuantum(const PixelWand *), |
|---|
| 69 | PixelGetCyanQuantum(const PixelWand *), |
|---|
| 70 | PixelGetGreenQuantum(const PixelWand *), |
|---|
| 71 | PixelGetMagentaQuantum(const PixelWand *), |
|---|
| 72 | PixelGetOpacityQuantum(const PixelWand *), |
|---|
| 73 | PixelGetRedQuantum(const PixelWand *), |
|---|
| 74 | PixelGetYellowQuantum(const PixelWand *); |
|---|
| 75 | |
|---|
| 76 | extern WandExport unsigned long |
|---|
| 77 | PixelGetColorCount(const PixelWand *); |
|---|
| 78 | |
|---|
| 79 | extern WandExport void |
|---|
| 80 | ClearPixelWand(PixelWand *), |
|---|
| 81 | PixelGetHSL(const PixelWand *,double *,double *,double *), |
|---|
| 82 | PixelGetMagickColor(const PixelWand *,MagickPixelPacket *), |
|---|
| 83 | PixelGetQuantumColor(const PixelWand *,PixelPacket *), |
|---|
| 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 unsigned long), |
|---|
| 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 IndexPacket), |
|---|
| 99 | PixelSetMagenta(PixelWand *,const double), |
|---|
| 100 | PixelSetMagentaQuantum(PixelWand *,const Quantum), |
|---|
| 101 | PixelSetMagickColor(PixelWand *,const MagickPixelPacket *), |
|---|
| 102 | PixelSetOpacity(PixelWand *,const double), |
|---|
| 103 | PixelSetOpacityQuantum(PixelWand *,const Quantum), |
|---|
| 104 | PixelSetQuantumColor(PixelWand *,const PixelPacket *), |
|---|
| 105 | PixelSetRed(PixelWand *,const double), |
|---|
| 106 | PixelSetRedQuantum(PixelWand *,const Quantum), |
|---|
| 107 | PixelSetYellow(PixelWand *,const double), |
|---|
| 108 | PixelSetYellowQuantum(PixelWand *,const Quantum); |
|---|
| 109 | |
|---|
| 110 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 111 | } |
|---|
| 112 | #endif |
|---|
| 113 | |
|---|
| 114 | #endif |
|---|