![]() |
![]() |
![]() |
![]() |
NAMEpixel_iterator - Pixel Iterator
SYNOPSISPixelIterator * DestroyPixelIterator( PixelIterator *iterator ); MagickBooleanType IsPixelIterator( const PixelIterator *iterator ); PixelIterator NewPixelIterator( MagickWand *wand ); PixelIterator NewPixelRegionIterator( MagickWand *wand, const long x, const long y, const unsigned long columns, const unsigned long rows, const MagickBooleanType modify ); MagickBooleanType PixelClearIteratorException( PixelIterator *wand ); char * PixelGetIteratorException( const Pixeliterator *iterator, ExceptionType *severity ); void PixelResetIterator( PixelIterator *iterator ); MagickBooleanType PixelSetIteratorRow( PixelIterator *iterator, const long row ); MagickBooleanType PixelSyncIterator( PixelIterator *iterator );
FUNCTION DESCRIPTIONS
DestroyPixelIteratorDestroyPixelIterator() deallocates resources associated with a PixelIterator. The format of the DestroyPixelIterator method is: PixelIterator *DestroyPixelIterator ( PixelIterator *iterator ); A description of each parameter follows:
IsPixelIteratorIsPixelIterator() returns MagickTrue if the iterator is verified as a pixel iterator. The format of the IsPixelIterator method is: MagickBooleanType IsPixelIterator ( const PixelIterator *iterator ); A description of each parameter follows:
NewPixelIteratorNewPixelIterator() returns a new pixel iterator. The format of the NewPixelIterator method is: PixelIterator NewPixelIterator ( MagickWand *wand ); A description of each parameter follows:
PixelClearIteratorExceptionPixelClearIteratorException() clear any exceptions associated with the iterator. The format of the PixelClearIteratorException method is: MagickBooleanType PixelClearIteratorException ( PixelIterator *wand ); A description of each parameter follows:
NewPixelRegionIteratorNewPixelRegionIterator() returns a new pixel iterator. The format of the NewPixelRegionIterator method is: PixelIterator NewPixelRegionIterator ( MagickWand *wand, const long x, const long y, const unsigned long columns, const unsigned long rows, const MagickBooleanType modify ); A description of each parameter follows:
PixelGetIteratorExceptionPixelGetIteratorException() returns the severity, reason, and description of any error that occurs when using other methods in this API. The format of the PixelGetIteratorException method is: char *PixelGetIteratorException ( const Pixeliterator *iterator, ExceptionType *severity ); A description of each parameter follows:
PixelGetNextIteratorRowPixelGetNextIteratorRow() returns the next row as an array of pixel wands from the pixel iterator. The format of the PixelGetNextRow method is: PixelWand **PixelGetNextRow(PixelIterator *iterator, unsigned long *number_wands) A description of each parameter follows:
PixelResetIteratorPixelResetIterator() resets the pixel iterator. Use it in conjunction with PixelGetNextPixel ( ) to iterate over all the pixels in a pixel container. The format of the PixelResetIterator method is: void PixelResetIterator ( PixelIterator *iterator ); A description of each parameter follows:
PixelSetIteratorRowPixelSetIteratorRow() set the pixel iterator row. The format of the PixelSetIteratorRow method is: MagickBooleanType PixelSetIteratorRow ( PixelIterator *iterator, const long row ); A description of each parameter follows:
PixelSyncIteratorPixelSyncIterator() syncs the pixel iterator. The format of the PixelSyncIterator method is: MagickBooleanType PixelSyncIterator ( PixelIterator *iterator ); A description of each parameter follows:
![]() |