From: cristy Date: Wed, 27 Mar 2013 22:27:53 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3995 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dfe0cb6c28a7d38e26bbf5eecf833bf63844c1b;p=imagemagick --- diff --git a/MagickCore/pixel.h b/MagickCore/pixel.h index 03f533ba4..851501c8a 100644 --- a/MagickCore/pixel.h +++ b/MagickCore/pixel.h @@ -27,6 +27,9 @@ extern "C" { #define MaxPixelChannels 32 #undef index +/* + Pixel enum declarations. +*/ typedef enum { UndefinedChannel = 0x0000, @@ -129,6 +132,21 @@ typedef enum BlendPixelTrait = 0x000004 } PixelTrait; +typedef enum +{ + UndefinedPixel, + CharPixel, + DoublePixel, + FloatPixel, + LongPixel, + LongLongPixel, + QuantumPixel, + ShortPixel +} StorageType; + +/* + Pixel typedef declarations. +*/ typedef struct _PixelChannelMap { PixelChannel @@ -180,21 +198,12 @@ typedef struct _PixelPacket black; } PixelPacket; -typedef enum -{ - UndefinedPixel, - CharPixel, - DoublePixel, - FloatPixel, - LongPixel, - LongLongPixel, - QuantumPixel, - ShortPixel -} StorageType; - typedef struct _CacheView CacheView_; +/* + Pixel method declarations. +*/ extern MagickExport MagickBooleanType ExportImagePixels(Image *,const ssize_t,const ssize_t,const size_t, const size_t,const char *,const StorageType,void *,ExceptionInfo *),