MagickWand  6.9.10
Convert, Edit, Or Compose Bitmap Images
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.
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
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
44  IsWandView(const WandView *),
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
60  SetWandViewThreads(WandView *,const size_t);
61 
62 extern WandExport 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
TransferWandViewMethod
MagickBooleanType(*)(*)(*)(* TransferWandViewMethod)(const WandView *, WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:33
_WandView::exception
ExceptionInfo * exception
Definition: wand-view.c:87
UpdateWandViewMethod
MagickBooleanType(*)(*)(*)(*)(* UpdateWandViewMethod)(WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:35
PixelGetQuantumColor
WandExport void PixelGetQuantumColor(const PixelWand *wand, PixelPacket *color)
Definition: pixel-wand.c:1289
magick_restrict
#define magick_restrict
Definition: MagickWand.h:41
NewWandView
WandExport WandView * NewWandView(MagickWand *)
GetWandViewPixels
WandExport PixelWand ** GetWandViewPixels(const WandView *)
Definition: wand-view.c:654
PixelSetQuantumColor
WandExport void PixelSetQuantumColor(PixelWand *wand, const PixelPacket *color)
Definition: pixel-wand.c:2190
TransferWandViewIterator
WandExport MagickBooleanType TransferWandViewIterator(WandView *, WandView *, TransferWandViewMethod, void *)
SetWandViewDescription
WandExport void SetWandViewDescription(WandView *, const char *)
_WandView::pixel_wands
PixelWand *** pixel_wands
Definition: wand-view.c:84
IsWandView
WandExport MagickBooleanType IsWandView(const WandView *)
magick-wand-private.h
PixelSetIndex
WandExport void PixelSetIndex(PixelWand *wand, const IndexPacket index)
Definition: pixel-wand.c:1985
_MagickWand::signature
size_t signature
Definition: magick-wand-private.h:76
_WandView::id
size_t id
Definition: wand-view.c:65
_PixelWand
Definition: pixel-wand.c:64
DestroyPixelsThreadSet
static PixelWand *** DestroyPixelsThreadSet(PixelWand ***pixel_wands, const size_t number_wands, const size_t number_threads)
Definition: wand-view.c:177
NewWandView
WandExport WandView * NewWandView(MagickWand *wand)
Definition: wand-view.c:778
SetWandViewMethod
MagickBooleanType(*)(*)(* SetWandViewMethod)(WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:32
SetWandViewThreads
WandExport void SetWandViewThreads(WandView *, const size_t)
Definition: wand-view.c:1075
_MagickWand::images
Image * images
Definition: magick-wand-private.h:68
_WandView::view
CacheView * view
Definition: wand-view.c:78
NewWandViewExtent
WandExport WandView * NewWandViewExtent(MagickWand *, const ssize_t, const ssize_t, const size_t, const size_t)
Definition: wand-view.c:838
_WandView::number_threads
size_t number_threads
Definition: wand-view.c:81
IsWandView
WandExport MagickBooleanType IsWandView(const WandView *wand_view)
Definition: wand-view.c:716
DestroyWandView
WandExport WandView * DestroyWandView(WandView *)
GetWandViewExtent
WandExport RectangleInfo GetWandViewExtent(const WandView *)
Definition: wand-view.c:496
_WandView::extent
RectangleInfo extent
Definition: wand-view.c:72
DestroyWandView
WandExport WandView * DestroyWandView(WandView *wand_view)
Definition: wand-view.c:191
PixelGetBlackQuantum
WandExport Quantum PixelGetBlackQuantum(const PixelWand *wand)
Definition: pixel-wand.c:607
_WandView::description
char * description
Definition: wand-view.c:69
_WandView::signature
size_t signature
Definition: wand-view.c:93
SetWandViewThreads
MagickExport void SetWandViewThreads(WandView *image_view, const size_t number_threads)
Definition: wand-view.c:1075
GetWandViewIterator
WandExport MagickBooleanType GetWandViewIterator(WandView *, GetWandViewMethod, void *)
_WandView::debug
MagickBooleanType debug
Definition: wand-view.c:90
SetWandViewDescription
MagickExport void SetWandViewDescription(WandView *wand_view, const char *description)
Definition: wand-view.c:898
DestroyPixelWands
WandExport PixelWand ** DestroyPixelWands(PixelWand **wand, const size_t number_wands)
Definition: pixel-wand.c:275
WandViewId
#define WandViewId
Definition: wand-view.c:57
ThrowWandFatalException
#define ThrowWandFatalException(severity, tag, context)
Definition: magick-wand-private.h:36
_WandView::name
char name[MaxTextExtent]
Definition: wand-view.c:68
WandSignature
#define WandSignature
Definition: method-attribute.h:76
DuplexTransferWandViewIterator
WandExport MagickBooleanType DuplexTransferWandViewIterator(WandView *source, WandView *duplex, WandView *destination, DuplexTransferWandViewMethod transfer, void *context)
Definition: wand-view.c:256
GetWandViewException
WandExport char * GetWandViewException(const WandView *wand_view, ExceptionType *severity)
Definition: wand-view.c:441
RelinquishWandId
WandExport void RelinquishWandId(const size_t id)
Definition: wand.c:150
SetWandViewIterator
WandExport MagickBooleanType SetWandViewIterator(WandView *, SetWandViewMethod, void *)
TransferWandViewIterator
WandExport MagickBooleanType TransferWandViewIterator(WandView *source, WandView *destination, TransferWandViewMethod transfer, void *context)
Definition: wand-view.c:1133
_MagickWand
Definition: magick-wand-private.h:51
GetWandViewWand
WandExport MagickWand * GetWandViewWand(const WandView *)
Definition: wand-view.c:686
GetWandViewMethod
MagickBooleanType(*)(* GetWandViewMethod)(const WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:31
CloneWandView
WandExport WandView * CloneWandView(const WandView *wand_view)
Definition: wand-view.c:118
GetWandViewException
WandExport char * GetWandViewException(const WandView *, ExceptionType *)
Definition: wand-view.c:441
studio.h
wand.h
AcquirePixelsThreadSet
static PixelWand *** AcquirePixelsThreadSet(const size_t number_wands, const size_t number_threads)
Definition: wand-view.c:755
GetWandViewPixels
WandExport PixelWand ** GetWandViewPixels(const WandView *wand_view)
Definition: wand-view.c:654
MagickWand.h
DuplexTransferWandViewMethod
MagickBooleanType(* DuplexTransferWandViewMethod)(const WandView *, const WandView *, WandView *, const ssize_t, const int, void *)
Definition: wand-view.h:29
GetWandViewWand
WandExport MagickWand * GetWandViewWand(const WandView *wand_view)
Definition: wand-view.c:686
GetWandViewExtent
WandExport RectangleInfo GetWandViewExtent(const WandView *wand_view)
Definition: wand-view.c:496
ClonePixelWands
WandExport PixelWand ** ClonePixelWands(const PixelWand **wands, const size_t number_wands)
Definition: pixel-wand.c:195
CloneWandView
WandExport WandView * CloneWandView(const WandView *)
NewPixelWands
WandExport PixelWand ** NewPixelWands(const size_t number_wands)
Definition: pixel-wand.c:442
_WandView::wand
MagickWand * wand
Definition: wand-view.c:75
UpdateWandViewIterator
WandExport MagickBooleanType UpdateWandViewIterator(WandView *, UpdateWandViewMethod, void *)
Definition: wand-view.c:1311
MaxTextExtent
#define MaxTextExtent
Definition: method-attribute.h:78
UpdateWandViewIterator
WandExport MagickBooleanType UpdateWandViewIterator(WandView *source, UpdateWandViewMethod update, void *context)
Definition: wand-view.c:1311
PixelSetBlackQuantum
WandExport void PixelSetBlackQuantum(PixelWand *wand, const Quantum black)
Definition: pixel-wand.c:1564
DuplexTransferWandViewIterator
WandExport MagickBooleanType DuplexTransferWandViewIterator(WandView *, WandView *, WandView *, DuplexTransferWandViewMethod, void *)
NewWandViewExtent
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:838
GetWandViewIterator
WandExport MagickBooleanType GetWandViewIterator(WandView *source, GetWandViewMethod get, void *context)
Definition: wand-view.c:546
SetWandViewIterator
WandExport MagickBooleanType SetWandViewIterator(WandView *destination, SetWandViewMethod set, void *context)
Definition: wand-view.c:950
_WandView
Definition: wand-view.c:63
AcquireWandId
WandExport size_t AcquireWandId(void)
Definition: wand.c:74
WandExport
#define WandExport
Definition: method-attribute.h:71