wand-view.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. Copyright 1999 ImageMagick Studio LLC, a non-profit organization
  3. dedicated to making software imaging solutions freely available.
  4. You may not use this file except in compliance with the License. You may
  5. obtain a copy of the License at
  6. https://imagemagick.org/script/license.php
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. MagickWand wand view methods.
  13. */
  14. #ifndef MAGICKWAND_WAND_VIEW_H
  15. #define MAGICKWAND_WAND_VIEW_H
  16. #if defined(__cplusplus) || defined(c_plusplus)
  17. extern "C" {
  18. #endif
  19. typedef struct _WandView
  20. WandView;
  21. typedef MagickBooleanType
  22. (*DuplexTransferWandViewMethod)(const WandView *,const WandView *,WandView *,
  23. const ssize_t,const int,void *),
  24. (*GetWandViewMethod)(const WandView *,const ssize_t,const int,void *),
  25. (*SetWandViewMethod)(WandView *,const ssize_t,const int,void *),
  26. (*TransferWandViewMethod)(const WandView *,WandView *,const ssize_t,
  27. const int,void *),
  28. (*UpdateWandViewMethod)(WandView *,const ssize_t,const int,void *);
  29. extern WandExport char
  30. *GetWandViewException(const WandView *,ExceptionType *);
  31. extern WandExport MagickBooleanType
  32. DuplexTransferWandViewIterator(WandView *,WandView *,WandView *,
  33. DuplexTransferWandViewMethod,void *),
  34. GetWandViewIterator(WandView *,GetWandViewMethod,void *),
  35. IsWandView(const WandView *),
  36. SetWandViewIterator(WandView *,SetWandViewMethod,void *),
  37. TransferWandViewIterator(WandView *,WandView *,TransferWandViewMethod,void *),
  38. UpdateWandViewIterator(WandView *,UpdateWandViewMethod,void *);
  39. extern WandExport MagickWand
  40. *GetWandViewWand(const WandView *);
  41. extern WandExport PixelWand
  42. **GetWandViewPixels(const WandView *);
  43. extern WandExport RectangleInfo
  44. GetWandViewExtent(const WandView *);
  45. extern WandExport void
  46. SetWandViewDescription(WandView *,const char *),
  47. SetWandViewThreads(WandView *,const size_t);
  48. extern WandExport WandView
  49. *CloneWandView(const WandView *),
  50. *DestroyWandView(WandView *),
  51. *NewWandView(MagickWand *),
  52. *NewWandViewExtent(MagickWand *,const ssize_t,const ssize_t,const size_t,
  53. const size_t);
  54. #if defined(__cplusplus) || defined(c_plusplus)
  55. }
  56. #endif
  57. #endif