blob: 2374058e421eb25f2590bfbfdaa8e6041c26d389 [file] [log] [blame]
cristy7eb1b7a2010-06-26 15:47:49 +00001/*
Cristy7ce65e72015-12-12 18:03:16 -05002 Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization
cristy7eb1b7a2010-06-26 15:47:49 +00003 dedicated to making software imaging solutions freely available.
4
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
7
8 http://www.imagemagick.org/script/license.php
9
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.
15
16 MagickWand wand view methods.
17*/
18#ifndef _MAGICKWAND_WAND_VIEW_H
19#define _MAGICKWAND_WAND_VIEW_H
20
21#if defined(__cplusplus) || defined(c_plusplus)
22extern "C" {
23#endif
24
25typedef struct _WandView
26 WandView;
27
28typedef MagickBooleanType
29 (*DuplexTransferWandViewMethod)(const WandView *,const WandView *,WandView *,
cristyc3ebda22010-06-27 17:11:57 +000030 const ssize_t,const int,void *),
cristyd6dfc0d2010-06-27 19:30:49 +000031 (*GetWandViewMethod)(const WandView *,const ssize_t,const int,void *),
32 (*SetWandViewMethod)(WandView *,const ssize_t,const int,void *),
cristyc3ebda22010-06-27 17:11:57 +000033 (*TransferWandViewMethod)(const WandView *,WandView *,const ssize_t,
34 const int,void *),
35 (*UpdateWandViewMethod)(WandView *,const ssize_t,const int,void *);
cristy7eb1b7a2010-06-26 15:47:49 +000036
37extern WandExport char
38 *GetWandViewException(const WandView *,ExceptionType *);
39
40extern 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 *);
48
49extern WandExport MagickWand
50 *GetWandViewWand(const WandView *);
51
cristyc3ebda22010-06-27 17:11:57 +000052extern WandExport PixelWand
53 **GetWandViewPixels(const WandView *);
54
55extern WandExport RectangleInfo
56 GetWandViewExtent(const WandView *);
57
58extern WandExport void
cristy09d81172010-10-21 16:15:05 +000059 SetWandViewDescription(WandView *,const char *),
60 SetWandViewThreads(WandView *,const size_t);
cristyc3ebda22010-06-27 17:11:57 +000061
cristy7eb1b7a2010-06-26 15:47:49 +000062extern WandExport WandView
63 *CloneWandView(const WandView *),
64 *DestroyWandView(WandView *),
65 *NewWandView(MagickWand *),
cristyc3ebda22010-06-27 17:11:57 +000066 *NewWandViewExtent(MagickWand *,const ssize_t,const ssize_t,const size_t,
cristy7eb1b7a2010-06-26 15:47:49 +000067 const size_t);
68
cristy7eb1b7a2010-06-26 15:47:49 +000069#if defined(__cplusplus) || defined(c_plusplus)
70}
71#endif
72
73#endif