| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | #ifndef _MAGICKWAND_PIXEL_ITERATOR_H |
|---|
| 19 | #define _MAGICKWAND_PIXEL_ITERATOR_H |
|---|
| 20 | |
|---|
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 22 | extern "C" { |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | #include "wand/magick-wand.h" |
|---|
| 26 | #include "wand/pixel-wand.h" |
|---|
| 27 | |
|---|
| 28 | typedef struct _PixelIterator |
|---|
| 29 | PixelIterator; |
|---|
| 30 | |
|---|
| 31 | extern WandExport char |
|---|
| 32 | *PixelGetIteratorException(const PixelIterator *,ExceptionType *); |
|---|
| 33 | |
|---|
| 34 | extern WandExport ExceptionType |
|---|
| 35 | PixelGetIteratorExceptionType(const PixelIterator *); |
|---|
| 36 | |
|---|
| 37 | extern WandExport long |
|---|
| 38 | PixelGetIteratorRow(PixelIterator *); |
|---|
| 39 | |
|---|
| 40 | extern WandExport MagickBooleanType |
|---|
| 41 | IsPixelIterator(const PixelIterator *), |
|---|
| 42 | PixelClearIteratorException(PixelIterator *), |
|---|
| 43 | PixelSetIteratorRow(PixelIterator *,const long), |
|---|
| 44 | PixelSyncIterator(PixelIterator *); |
|---|
| 45 | |
|---|
| 46 | extern WandExport PixelIterator |
|---|
| 47 | *ClonePixelIterator(const PixelIterator *), |
|---|
| 48 | *DestroyPixelIterator(PixelIterator *), |
|---|
| 49 | *NewPixelIterator(MagickWand *), |
|---|
| 50 | *NewPixelRegionIterator(MagickWand *,const long,const long, |
|---|
| 51 | const unsigned long,const unsigned long); |
|---|
| 52 | |
|---|
| 53 | extern WandExport PixelWand |
|---|
| 54 | **PixelGetCurrentIteratorRow(PixelIterator *,unsigned long *), |
|---|
| 55 | **PixelGetNextIteratorRow(PixelIterator *,unsigned long *), |
|---|
| 56 | **PixelGetPreviousIteratorRow(PixelIterator *,unsigned long *); |
|---|
| 57 | |
|---|
| 58 | extern WandExport void |
|---|
| 59 | ClearPixelIterator(PixelIterator *), |
|---|
| 60 | PixelResetIterator(PixelIterator *), |
|---|
| 61 | PixelSetFirstIteratorRow(PixelIterator *), |
|---|
| 62 | PixelSetLastIteratorRow(PixelIterator *); |
|---|
| 63 | |
|---|
| 64 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 65 | } |
|---|
| 66 | #endif |
|---|
| 67 | |
|---|
| 68 | #endif |
|---|