2 Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 http://www.imagemagick.org/script/license.php
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITTransferNS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
16 MagickWand wand view methods.
18 #ifndef _MAGICKWAND_WAND_VIEW_H
19 #define _MAGICKWAND_WAND_VIEW_H
21 #if defined(__cplusplus) || defined(c_plusplus)
25 typedef struct _WandView
28 typedef MagickBooleanType
29 (*DuplexTransferWandViewMethod)(const WandView *,const WandView *,WandView *,
30 const ssize_t,const int,void *),
31 (*GetWandViewMethod)(const WandView *,const ssize_t,const int,void *),
32 (*SetWandViewMethod)(WandView *,const ssize_t,const int,void *),
33 (*TransferWandViewMethod)(const WandView *,WandView *,const ssize_t,
35 (*UpdateWandViewMethod)(WandView *,const ssize_t,const int,void *);
37 extern WandExport char
38 *GetWandViewException(const WandView *,ExceptionType *);
40 extern WandExport MagickBooleanType
41 DuplexTransferWandViewIterator(WandView *,WandView *,WandView *,
42 DuplexTransferWandViewMethod,void *),
43 GetWandViewIterator(WandView *,GetWandViewMethod,void *),
44 IsWandView(const WandView *),
45 SetWandViewIterator(WandView *,SetWandViewMethod,void *),
46 TransferWandViewIterator(WandView *,WandView *,TransferWandViewMethod,void *),
47 UpdateWandViewIterator(WandView *,UpdateWandViewMethod,void *);
49 extern WandExport MagickWand
50 *GetWandViewWand(const WandView *);
52 extern WandExport PixelWand
53 **GetWandViewPixels(const WandView *);
55 extern WandExport RectangleInfo
56 GetWandViewExtent(const WandView *);
58 extern WandExport void
59 SetWandViewDescription(WandView *,const char *),
60 SetWandViewThreads(WandView *,const size_t);
62 extern WandExport WandView
63 *CloneWandView(const WandView *),
64 *DestroyWandView(WandView *),
65 *NewWandView(MagickWand *),
66 *NewWandViewExtent(MagickWand *,const ssize_t,const ssize_t,const size_t,
69 #if defined(__cplusplus) || defined(c_plusplus)