cache_view.inc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. Copyright 1999-2005 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.
  5. obtain a copy of the License at
  6. http://www.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. ImageMagick Cache View Methods.
  13. }
  14. type
  15. ViewInfo = record
  16. image: PImage;
  17. id: Cardinal;
  18. signature: Cardinal;
  19. end;
  20. PViewInfo = ^ViewInfo;
  21. {extern MagickExport const PixelPacket
  22. *AcquireCacheView(const ViewInfo *,const long,const long,const unsigned long,
  23. const unsigned long,ExceptionInfo *);
  24. extern MagickExport IndexPacket
  25. *GetCacheViewIndexes(const ViewInfo *);
  26. extern MagickExport MagickBooleanType
  27. SyncCacheView(ViewInfo *);
  28. extern MagickExport PixelPacket
  29. *GetCacheViewPixels(const ViewInfo *),
  30. *GetCacheView(ViewInfo *,const long,const long,const unsigned long,
  31. const unsigned long),
  32. *SetCacheView(ViewInfo *,const long,const long,const unsigned long,
  33. const unsigned long);
  34. extern MagickExport ViewInfo
  35. *OpenCacheView(Image *);
  36. extern MagickExport void
  37. CloseCacheView(ViewInfo *);}