• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2   Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization
3   dedicated to making software imaging solutions freely available.
4 
5   You may not use this file except in compliance with the License.  You may
6   obtain a copy of the License at
7 
8     https://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)
22 extern "C" {
23 #endif
24 
25 typedef struct _WandView
26   WandView;
27 
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,
34     const int,void *),
35   (*UpdateWandViewMethod)(WandView *,const ssize_t,const int,void *);
36 
37 extern WandExport char
38   *GetWandViewException(const WandView *,ExceptionType *);
39 
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 *);
48 
49 extern WandExport MagickWand
50   *GetWandViewWand(const WandView *);
51 
52 extern WandExport PixelWand
53   **GetWandViewPixels(const WandView *);
54 
55 extern WandExport RectangleInfo
56   GetWandViewExtent(const WandView *);
57 
58 extern WandExport void
59   SetWandViewDescription(WandView *,const char *),
60   SetWandViewThreads(WandView *,const size_t);
61 
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,
67     const size_t);
68 
69 #if defined(__cplusplus) || defined(c_plusplus)
70 }
71 #endif
72 
73 #endif
74