cristy | 7eb1b7a | 2010-06-26 15:47:49 +0000 | [diff] [blame] | 1 | /* |
Cristy | f6ff9ea | 2016-12-05 09:53:35 -0500 | [diff] [blame] | 2 | Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization |
cristy | 7eb1b7a | 2010-06-26 15:47:49 +0000 | [diff] [blame] | 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 | 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 | */ |
Cristy | 83bceaa | 2016-06-03 20:39:35 -0400 | [diff] [blame] | 18 | #ifndef MAGICKWAND_WAND_VIEW_H |
| 19 | #define MAGICKWAND_WAND_VIEW_H |
cristy | 7eb1b7a | 2010-06-26 15:47:49 +0000 | [diff] [blame] | 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 *, |
cristy | c3ebda2 | 2010-06-27 17:11:57 +0000 | [diff] [blame] | 30 | const ssize_t,const int,void *), |
cristy | d6dfc0d | 2010-06-27 19:30:49 +0000 | [diff] [blame] | 31 | (*GetWandViewMethod)(const WandView *,const ssize_t,const int,void *), |
| 32 | (*SetWandViewMethod)(WandView *,const ssize_t,const int,void *), |
cristy | c3ebda2 | 2010-06-27 17:11:57 +0000 | [diff] [blame] | 33 | (*TransferWandViewMethod)(const WandView *,WandView *,const ssize_t, |
| 34 | const int,void *), |
| 35 | (*UpdateWandViewMethod)(WandView *,const ssize_t,const int,void *); |
cristy | 7eb1b7a | 2010-06-26 15:47:49 +0000 | [diff] [blame] | 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 | |
cristy | c3ebda2 | 2010-06-27 17:11:57 +0000 | [diff] [blame] | 52 | extern WandExport PixelWand |
| 53 | **GetWandViewPixels(const WandView *); |
| 54 | |
| 55 | extern WandExport RectangleInfo |
| 56 | GetWandViewExtent(const WandView *); |
| 57 | |
| 58 | extern WandExport void |
cristy | 09d8117 | 2010-10-21 16:15:05 +0000 | [diff] [blame] | 59 | SetWandViewDescription(WandView *,const char *), |
| 60 | SetWandViewThreads(WandView *,const size_t); |
cristy | c3ebda2 | 2010-06-27 17:11:57 +0000 | [diff] [blame] | 61 | |
cristy | 7eb1b7a | 2010-06-26 15:47:49 +0000 | [diff] [blame] | 62 | extern WandExport WandView |
| 63 | *CloneWandView(const WandView *), |
| 64 | *DestroyWandView(WandView *), |
| 65 | *NewWandView(MagickWand *), |
cristy | c3ebda2 | 2010-06-27 17:11:57 +0000 | [diff] [blame] | 66 | *NewWandViewExtent(MagickWand *,const ssize_t,const ssize_t,const size_t, |
cristy | 7eb1b7a | 2010-06-26 15:47:49 +0000 | [diff] [blame] | 67 | const size_t); |
| 68 | |
cristy | 7eb1b7a | 2010-06-26 15:47:49 +0000 | [diff] [blame] | 69 | #if defined(__cplusplus) || defined(c_plusplus) |
| 70 | } |
| 71 | #endif |
| 72 | |
| 73 | #endif |