summaryrefslogtreecommitdiff
path: root/dmagick/c/cacheView.d
diff options
context:
space:
mode:
authorMike Wey2011-01-08 17:48:30 +0100
committerMike Wey2011-01-08 17:48:30 +0100
commitcbac78bbec726017355cb455a776f193e7fc3022 (patch)
treea41c564c7ef5aec9dd2b18e58e94b213193044be /dmagick/c/cacheView.d
initial checkin
Diffstat (limited to 'dmagick/c/cacheView.d')
-rw-r--r--dmagick/c/cacheView.d66
1 files changed, 66 insertions, 0 deletions
diff --git a/dmagick/c/cacheView.d b/dmagick/c/cacheView.d
new file mode 100644
index 0000000..7d85a46
--- /dev/null
+++ b/dmagick/c/cacheView.d
@@ -0,0 +1,66 @@
+module dmagick.c.cacheView;
+
+import core.sys.posix.sys.types;
+
+import dmagick.c.colorspace;
+import dmagick.c.exception;
+import dmagick.c.image;
+import dmagick.c.magickType;
+import dmagick.c.pixel;
+
+extern(C)
+{
+ enum VirtualPixelMethod
+ {
+ UndefinedVirtualPixelMethod,
+ BackgroundVirtualPixelMethod,
+ ConstantVirtualPixelMethod,
+ DitherVirtualPixelMethod,
+ EdgeVirtualPixelMethod,
+ MirrorVirtualPixelMethod,
+ RandomVirtualPixelMethod,
+ TileVirtualPixelMethod,
+ TransparentVirtualPixelMethod,
+ MaskVirtualPixelMethod,
+ BlackVirtualPixelMethod,
+ GrayVirtualPixelMethod,
+ WhiteVirtualPixelMethod,
+ HorizontalTileVirtualPixelMethod,
+ VerticalTileVirtualPixelMethod,
+ HorizontalTileEdgeVirtualPixelMethod,
+ VerticalTileEdgeVirtualPixelMethod,
+ CheckerTileVirtualPixelMethod
+ }
+
+ struct CacheView {}
+
+ ClassType GetCacheViewStorageClass(const CacheView*);
+
+ ColorspaceType GetCacheViewColorspace(const CacheView*);
+
+ const(IndexPacket*) GetCacheViewVirtualIndexQueue(const CacheView*);
+
+ const(PixelPacket*) GetCacheViewVirtualPixels(const CacheView*, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo*);
+ const(PixelPacket*) GetCacheViewVirtualPixelQueue(const CacheView*);
+
+ ExceptionInfo* GetCacheViewException(const CacheView*);
+
+ IndexPacket* GetCacheViewAuthenticIndexQueue(CacheView*);
+
+ MagickBooleanType GetOneCacheViewVirtualPixel(const CacheView*, const ssize_t, const ssize_t, PixelPacket*, ExceptionInfo*);
+ MagickBooleanType GetOneCacheViewVirtualMethodPixel(const CacheView*, const VirtualPixelMethod, const ssize_t, const ssize_t, PixelPacket*, ExceptionInfo*);
+ MagickBooleanType GetOneCacheViewAuthenticPixel(const CacheView*, const ssize_t, const ssize_t, PixelPacket*, ExceptionInfo*);
+ MagickBooleanType SetCacheViewStorageClass(CacheView*, const ClassType);
+ MagickBooleanType SetCacheViewVirtualPixelMethod(CacheView*, const VirtualPixelMethod);
+ MagickBooleanType SyncCacheViewAuthenticPixels(CacheView*, ExceptionInfo*);
+
+ MagickSizeType GetCacheViewExtent(const CacheView*);
+
+ PixelPacket* GetCacheViewAuthenticPixelQueue(CacheView*);
+ PixelPacket* GetCacheViewAuthenticPixels(CacheView*, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo*);
+ PixelPacket* QueueCacheViewAuthenticPixels(CacheView*, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo*);
+
+ CacheView* AcquireCacheView(const Image*);
+ CacheView* CloneCacheView(const CacheView*);
+ CacheView* DestroyCacheView(CacheView*);
+}