|
MagickCore
6.7.5
|
00001 /* 00002 Copyright 1999-2012 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 "MagickCore/pixel.h" 00026 00027 typedef enum 00028 { 00029 UndefinedVirtualPixelMethod, 00030 BackgroundVirtualPixelMethod, 00031 DitherVirtualPixelMethod, 00032 EdgeVirtualPixelMethod, 00033 MirrorVirtualPixelMethod, 00034 RandomVirtualPixelMethod, 00035 TileVirtualPixelMethod, 00036 TransparentVirtualPixelMethod, 00037 MaskVirtualPixelMethod, 00038 BlackVirtualPixelMethod, 00039 GrayVirtualPixelMethod, 00040 WhiteVirtualPixelMethod, 00041 HorizontalTileVirtualPixelMethod, 00042 VerticalTileVirtualPixelMethod, 00043 HorizontalTileEdgeVirtualPixelMethod, 00044 VerticalTileEdgeVirtualPixelMethod, 00045 CheckerTileVirtualPixelMethod 00046 } VirtualPixelMethod; 00047 00048 typedef struct _CacheView 00049 CacheView; 00050 00051 extern MagickExport CacheView 00052 *AcquireCacheView(const Image *), 00053 *CloneCacheView(const CacheView *), 00054 *DestroyCacheView(CacheView *); 00055 00056 extern MagickExport ClassType 00057 GetCacheViewStorageClass(const CacheView *); 00058 00059 extern MagickExport ColorspaceType 00060 GetCacheViewColorspace(const CacheView *); 00061 00062 extern MagickExport const Quantum 00063 *GetCacheViewVirtualPixels(const CacheView *,const ssize_t,const ssize_t, 00064 const size_t,const size_t,ExceptionInfo *), 00065 *GetCacheViewVirtualPixelQueue(const CacheView *); 00066 00067 extern MagickExport const void 00068 *GetCacheViewVirtualMetacontent(const CacheView *); 00069 00070 extern MagickExport MagickBooleanType 00071 GetOneCacheViewVirtualPixel(const CacheView *,const ssize_t,const ssize_t, 00072 Quantum *,ExceptionInfo *), 00073 GetOneCacheViewVirtualMethodPixel(const CacheView *,const VirtualPixelMethod, 00074 const ssize_t,const ssize_t,Quantum *,ExceptionInfo *), 00075 GetOneCacheViewAuthenticPixel(const CacheView *,const ssize_t,const ssize_t, 00076 Quantum *,ExceptionInfo *), 00077 SetCacheViewStorageClass(CacheView *,const ClassType,ExceptionInfo *), 00078 SetCacheViewVirtualPixelMethod(CacheView *,const VirtualPixelMethod), 00079 SyncCacheViewAuthenticPixels(CacheView *,ExceptionInfo *); 00080 00081 extern MagickExport MagickSizeType 00082 GetCacheViewExtent(const CacheView *); 00083 00084 extern MagickExport Quantum 00085 *GetCacheViewAuthenticPixelQueue(CacheView *), 00086 *GetCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t, 00087 const size_t,const size_t,ExceptionInfo *), 00088 *QueueCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t, 00089 const size_t,const size_t,ExceptionInfo *); 00090 00091 extern MagickExport void 00092 *GetCacheViewAuthenticMetacontent(CacheView *); 00093 00094 #if defined(__cplusplus) || defined(c_plusplus) 00095 } 00096 #endif 00097 00098 #endif