Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:24

0001 /*
0002   Copyright @ 2003 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   Pixel Iterator Methods.
0017 */
0018 #ifndef MAGICKWAND_PIXEL_ITERATOR_H
0019 #define MAGICKWAND_PIXEL_ITERATOR_H
0020 
0021 #include "MagickWand/MagickWand.h"
0022 #include "MagickWand/pixel-wand.h"
0023 
0024 #if defined(__cplusplus) || defined(c_plusplus)
0025 extern "C" {
0026 #endif
0027 
0028 typedef struct _PixelIterator
0029   PixelIterator;
0030 
0031 extern WandExport char
0032   *PixelGetIteratorException(const PixelIterator *,ExceptionType *);
0033 
0034 extern WandExport ExceptionType
0035   PixelGetIteratorExceptionType(const PixelIterator *);
0036 
0037 extern WandExport MagickBooleanType
0038   IsPixelIterator(const PixelIterator *),
0039   PixelClearIteratorException(PixelIterator *),
0040   PixelSetIteratorRow(PixelIterator *,const ssize_t),
0041   PixelSyncIterator(PixelIterator *);
0042 
0043 extern WandExport PixelIterator
0044   *ClonePixelIterator(const PixelIterator *),
0045   *DestroyPixelIterator(PixelIterator *),
0046   *NewPixelIterator(MagickWand *),
0047   *NewPixelRegionIterator(MagickWand *,const ssize_t,const ssize_t,const size_t,
0048     const size_t);
0049 
0050 extern WandExport PixelWand
0051   **PixelGetCurrentIteratorRow(PixelIterator *,size_t *),
0052   **PixelGetNextIteratorRow(PixelIterator *,size_t *),
0053   **PixelGetPreviousIteratorRow(PixelIterator *,size_t *);
0054 
0055 extern WandExport ssize_t
0056   PixelGetIteratorRow(PixelIterator *);
0057 
0058 extern WandExport void
0059   ClearPixelIterator(PixelIterator *),
0060   PixelResetIterator(PixelIterator *),
0061   PixelSetFirstIteratorRow(PixelIterator *),
0062   PixelSetLastIteratorRow(PixelIterator *);
0063 
0064 #if defined(__cplusplus) || defined(c_plusplus)
0065 }
0066 #endif
0067 
0068 #endif