MagickCore  7.0.3
image-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  MagickCore image view methods.
17 */
18 #ifndef MAGICKCORE_IMAGE_VIEW_H
19 #define MAGICKCORE_IMAGE_VIEW_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 typedef struct _ImageView
26  ImageView;
27 
28 typedef MagickBooleanType
30  ImageView *,const ssize_t,const int,void *),
31  (*GetImageViewMethod)(const ImageView *,const ssize_t,const int,void *),
32  (*SetImageViewMethod)(ImageView *,const ssize_t,const int,void *),
33  (*TransferImageViewMethod)(const ImageView *,ImageView *,const ssize_t,
34  const int,void *),
35  (*UpdateImageViewMethod)(ImageView *,const ssize_t,const int,void *);
36 
37 extern MagickExport char
38  *GetImageViewException(const ImageView *,ExceptionType *);
39 
40 extern MagickExport const Quantum
41  *GetImageViewVirtualPixels(const ImageView *);
42 
43 extern MagickExport const void
44  *GetImageViewVirtualMetacontent(const ImageView *);
45 
46 extern MagickExport Image
47  *GetImageViewImage(const ImageView *);
48 
49 extern MagickExport ImageView
50  *CloneImageView(const ImageView *),
51  *DestroyImageView(ImageView *),
53  *NewImageViewRegion(Image *,const ssize_t,const ssize_t,const size_t,
54  const size_t,ExceptionInfo *);
55 
57  DuplexTransferImageViewIterator(ImageView *,ImageView *,ImageView *,
59  GetImageViewIterator(ImageView *,GetImageViewMethod,void *),
60  IsImageView(const ImageView *),
61  SetImageViewIterator(ImageView *,SetImageViewMethod,void *),
62  TransferImageViewIterator(ImageView *,ImageView *,TransferImageViewMethod,
63  void *),
65 
66 extern MagickExport Quantum
67  *GetImageViewAuthenticPixels(const ImageView *);
68 
70  GetImageViewExtent(const ImageView *);
71 
72 extern MagickExport void
73  SetImageViewDescription(ImageView *,const char *),
74  SetImageViewThreads(ImageView *,const size_t);
75 
76 extern MagickExport void
77  *GetImageViewAuthenticMetacontent(const ImageView *);
78 
79 #if defined(__cplusplus) || defined(c_plusplus)
80 }
81 #endif
82 
83 #endif
MagickExport MagickBooleanType TransferImageViewIterator(ImageView *source, ImageView *destination, TransferImageViewMethod transfer, void *context)
Definition: image-view.c:997
MagickExport ImageView * CloneImageView(const ImageView *image_view)
Definition: image-view.c:104
MagickExport MagickBooleanType GetImageViewIterator(ImageView *source, GetImageViewMethod get, void *context)
Definition: image-view.c:529
MagickExport ImageView * DestroyImageView(ImageView *image_view)
Definition: image-view.c:145
MagickBooleanType(* DuplexTransferImageViewMethod)(const ImageView *, const ImageView *, ImageView *, const ssize_t, const int, void *)
Definition: image-view.h:29
MagickExport const void * GetImageViewVirtualMetacontent(const ImageView *image_view)
Definition: image-view.c:622
MagickBooleanType(*)(*)(*)(* TransferImageViewMethod)(const ImageView *, ImageView *, const ssize_t, const int, void *)
Definition: image-view.h:33
Definition: image.h:151
ExceptionType
Definition: exception.h:27
MagickExport Quantum * GetImageViewAuthenticPixels(const ImageView *image_view)
Definition: image-view.c:364
MagickExport ImageView * NewImageView(Image *image, ExceptionInfo *exception)
Definition: image-view.c:717
MagickBooleanType
Definition: magick-type.h:158
MagickExport char * GetImageViewException(const ImageView *image_view, ExceptionType *severity)
Definition: image-view.c:398
MagickExport MagickBooleanType UpdateImageViewIterator(ImageView *source, UpdateImageViewMethod update, void *context)
Definition: image-view.c:1132
MagickExport void * GetImageViewAuthenticMetacontent(const ImageView *image_view)
Definition: image-view.c:334
MagickExport RectangleInfo GetImageViewExtent(const ImageView *image_view)
Definition: image-view.c:450
MagickExport void SetImageViewDescription(ImageView *image_view, const char *description)
Definition: image-view.c:818
MagickExport const Quantum * GetImageViewVirtualPixels(const ImageView *image_view)
Definition: image-view.c:652
MagickBooleanType(*)(*)(*)(*)(* UpdateImageViewMethod)(ImageView *, const ssize_t, const int, void *)
Definition: image-view.h:35
MagickExport MagickBooleanType SetImageViewIterator(ImageView *destination, SetImageViewMethod set, void *context)
Definition: image-view.c:870
MagickBooleanType(*)(* GetImageViewMethod)(const ImageView *, const ssize_t, const int, void *)
Definition: image-view.h:31
unsigned short Quantum
Definition: magick-type.h:82
MagickBooleanType(*)(*)(* SetImageViewMethod)(ImageView *, const ssize_t, const int, void *)
Definition: image-view.h:32
MagickExport void SetImageViewThreads(ImageView *, const size_t)
MagickExport MagickBooleanType IsImageView(const ImageView *image_view)
Definition: image-view.c:683
MagickExport MagickBooleanType DuplexTransferImageViewIterator(ImageView *source, ImageView *duplex, ImageView *destination, DuplexTransferImageViewMethod transfer, void *context)
Definition: image-view.c:209
MagickExport Image * GetImageViewImage(const ImageView *image_view)
Definition: image-view.c:479
#define MagickExport
MagickExport ImageView * NewImageViewRegion(Image *image, const ssize_t x, const ssize_t y, const size_t width, const size_t height, ExceptionInfo *exception)
Definition: image-view.c:769