pixel-view.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.
00006   obtain a copy of the License at
00007   
00008     http://www.imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITTransferNS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickWand pixel view methods.
00017 */
00018 #ifndef _MAGICKWAND_PIXEL_VIEW_H
00019 #define _MAGICKWAND_PIXEL_VIEW_H
00020 
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024 
00025 typedef struct _PixelView
00026   PixelView;
00027 
00028 typedef MagickBooleanType
00029   (*DuplexTransferPixelViewMethod)(const PixelView *,const PixelView *,
00030     PixelView *,void *),
00031   (*GetPixelViewMethod)(const PixelView *,void *),
00032   (*SetPixelViewMethod)(PixelView *,void *),
00033   (*TransferPixelViewMethod)(const PixelView *,PixelView *,void *),
00034   (*UpdatePixelViewMethod)(PixelView *,void *);
00035 
00036 extern WandExport char
00037   *GetPixelViewException(const PixelView *,ExceptionType *);
00038 
00039 extern WandExport long
00040   GetPixelViewX(const PixelView *),
00041   GetPixelViewY(const PixelView *);
00042 
00043 extern WandExport MagickBooleanType
00044   DuplexTransferPixelViewIterator(PixelView *,PixelView *,PixelView *,
00045     DuplexTransferPixelViewMethod,void *),
00046   GetPixelViewIterator(PixelView *,GetPixelViewMethod,void *),
00047   IsPixelView(const PixelView *),
00048   SetPixelViewIterator(PixelView *,SetPixelViewMethod,void *),
00049   TransferPixelViewIterator(PixelView *,PixelView *,TransferPixelViewMethod,
00050     void *),
00051   UpdatePixelViewIterator(PixelView *,UpdatePixelViewMethod,void *);
00052 
00053 extern WandExport MagickWand
00054   *GetPixelViewWand(const PixelView *);
00055 
00056 extern WandExport PixelView
00057   *ClonePixelView(const PixelView *),
00058   *DestroyPixelView(PixelView *),
00059   *NewPixelView(MagickWand *),
00060   *NewPixelViewRegion(MagickWand *,const long,const long,
00061     const unsigned long,const unsigned long);
00062 
00063 extern WandExport PixelWand
00064   **GetPixelViewPixels(const PixelView *);
00065 
00066 extern WandExport unsigned long
00067   GetPixelViewHeight(const PixelView *),
00068   GetPixelViewWidth(const PixelView *);
00069 
00070 #if defined(__cplusplus) || defined(c_plusplus)
00071 }
00072 #endif
00073 
00074 #endif

Generated on 19 Nov 2009 for MagickWand by  doxygen 1.6.1