cache-view.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.
00006   obtain a copy of the License at
00007   
00008     http://www.imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickCore cache view methods.
00017 */
00018 #ifndef _MAGICKCORE_CACHE_VIEW_H
00019 #define _MAGICKCORE_CACHE_VIEW_H
00020 
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024 
00025 #include "magick/pixel.h"
00026 
00027 typedef enum
00028 {
00029   UndefinedVirtualPixelMethod,
00030   BackgroundVirtualPixelMethod,
00031   ConstantVirtualPixelMethod,  /* deprecated */
00032   DitherVirtualPixelMethod,
00033   EdgeVirtualPixelMethod,
00034   MirrorVirtualPixelMethod,
00035   RandomVirtualPixelMethod,
00036   TileVirtualPixelMethod,
00037   TransparentVirtualPixelMethod,
00038   MaskVirtualPixelMethod,
00039   BlackVirtualPixelMethod,
00040   GrayVirtualPixelMethod,
00041   WhiteVirtualPixelMethod,
00042   HorizontalTileVirtualPixelMethod,
00043   VerticalTileVirtualPixelMethod,
00044   HorizontalTileEdgeVirtualPixelMethod,
00045   VerticalTileEdgeVirtualPixelMethod,
00046   CheckerTileVirtualPixelMethod
00047 } VirtualPixelMethod;
00048 
00049 typedef struct _CacheView
00050   CacheView;
00051 
00052 extern MagickExport ClassType
00053   GetCacheViewStorageClass(const CacheView *);
00054 
00055 extern MagickExport ColorspaceType
00056   GetCacheViewColorspace(const CacheView *);
00057 
00058 extern MagickExport const IndexPacket
00059   *GetCacheViewVirtualIndexQueue(const CacheView *);
00060 
00061 extern MagickExport const PixelPacket
00062   *GetCacheViewVirtualPixels(const CacheView *,const long,const long,
00063     const unsigned long,const unsigned long,ExceptionInfo *),
00064   *GetCacheViewVirtualPixelQueue(const CacheView *);
00065 
00066 extern MagickExport ExceptionInfo
00067   *GetCacheViewException(const CacheView *);
00068 
00069 extern MagickExport IndexPacket
00070   *GetCacheViewAuthenticIndexQueue(CacheView *);
00071 
00072 extern MagickExport MagickBooleanType
00073   GetOneCacheViewVirtualPixel(const CacheView *,const long,const long,
00074     PixelPacket *,ExceptionInfo *),
00075   GetOneCacheViewVirtualMethodPixel(const CacheView *,
00076     const VirtualPixelMethod,const long,const long,PixelPacket *,
00077     ExceptionInfo *),
00078   GetOneCacheViewAuthenticPixel(const CacheView *,const long,const long,
00079     PixelPacket *,ExceptionInfo *),
00080   SetCacheViewStorageClass(CacheView *,const ClassType),
00081   SetCacheViewVirtualPixelMethod(CacheView *,const VirtualPixelMethod),
00082   SyncCacheViewAuthenticPixels(CacheView *,ExceptionInfo *);
00083 
00084 extern MagickExport MagickSizeType
00085   GetCacheViewExtent(const CacheView *);
00086 
00087 extern MagickExport PixelPacket
00088   *GetCacheViewAuthenticPixelQueue(CacheView *),
00089   *GetCacheViewAuthenticPixels(CacheView *,const long,const long,
00090     const unsigned long,const unsigned long,ExceptionInfo *),
00091   *QueueCacheViewAuthenticPixels(CacheView *,const long,const long,
00092     const unsigned long,const unsigned long,ExceptionInfo *);
00093 
00094 extern MagickExport CacheView
00095   *AcquireCacheView(const Image *),
00096   *CloneCacheView(const CacheView *),
00097   *DestroyCacheView(CacheView *);
00098 
00099 #if defined(__cplusplus) || defined(c_plusplus)
00100 }
00101 #endif
00102 
00103 #endif

Generated on 19 Nov 2009 for MagickCore by  doxygen 1.6.1