MagickWand  7.0.3
wand-view.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2019 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 *,
43  GetWandViewIterator(WandView *,GetWandViewMethod,void *),
44  IsWandView(const WandView *),
45  SetWandViewIterator(WandView *,SetWandViewMethod,void *),
46  TransferWandViewIterator(WandView *,WandView *,TransferWandViewMethod,void *),
48 
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 *),
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
WandExport MagickBooleanType GetWandViewIterator(WandView *source, GetWandViewMethod get, void *context)
Definition: wand-view.c:519
WandExport WandView * NewWandView(MagickWand *wand)
Definition: wand-view.c:745
#define WandExport
MagickBooleanType(* DuplexTransferWandViewMethod)(const WandView *, const WandView *, WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:29
MagickBooleanType(*)(*)(* SetWandViewMethod)(WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:32
WandExport void SetWandViewThreads(WandView *, const size_t)
WandExport MagickBooleanType DuplexTransferWandViewIterator(WandView *source, WandView *duplex, WandView *destination, DuplexTransferWandViewMethod transfer, void *context)
Definition: wand-view.c:258
WandExport MagickBooleanType TransferWandViewIterator(WandView *source, WandView *destination, TransferWandViewMethod transfer, void *context)
Definition: wand-view.c:1055
WandExport WandView * DestroyWandView(WandView *wand_view)
Definition: wand-view.c:192
MagickExport void SetWandViewDescription(WandView *wand_view, const char *description)
Definition: wand-view.c:867
MagickBooleanType(*)(*)(*)(*)(* UpdateWandViewMethod)(WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:35
WandExport WandView * NewWandViewExtent(MagickWand *wand, const ssize_t x, const ssize_t y, const size_t width, const size_t height)
Definition: wand-view.c:806
WandExport PixelWand ** GetWandViewPixels(const WandView *wand_view)
Definition: wand-view.c:618
WandExport MagickWand * GetWandViewWand(const WandView *wand_view)
Definition: wand-view.c:650
WandExport RectangleInfo GetWandViewExtent(const WandView *wand_view)
Definition: wand-view.c:469
MagickBooleanType(*)(* GetWandViewMethod)(const WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:31
WandExport MagickBooleanType UpdateWandViewIterator(WandView *source, UpdateWandViewMethod update, void *context)
Definition: wand-view.c:1213
WandExport WandView * CloneWandView(const WandView *wand_view)
Definition: wand-view.c:118
MagickBooleanType(*)(*)(*)(* TransferWandViewMethod)(const WandView *, WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:33
WandExport MagickBooleanType SetWandViewIterator(WandView *destination, SetWandViewMethod set, void *context)
Definition: wand-view.c:919
WandExport MagickBooleanType IsWandView(const WandView *wand_view)
Definition: wand-view.c:680
WandExport char * GetWandViewException(const WandView *wand_view, ExceptionType *severity)
Definition: wand-view.c:414