MagickCore  6.8.9
image-private.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IsNaN(a)   ((a) != (a) ? MagickTrue : MagickFalse)
 
#define MagickPI   3.14159265358979323846264338327950288419716939937510
 
#define Magick2PI   6.28318530717958647692528676655900576839433879875020
 
#define MagickPHI   1.61803398874989484820458683436563811772030917980576
 
#define MagickPI2   1.57079632679489661923132169163975144209858469968755
 
#define MagickSQ1_2   0.70710678118654752440084436210484903928483593768847
 
#define MagickSQ2   1.41421356237309504880168872420969807856967187537695
 
#define MagickSQ2PI   2.50662827463100024161235523934010416269302368164062
 
#define MAGICK_SIZE_MAX   (SIZE_MAX)
 
#define MAGICK_SSIZE_MAX   (SSIZE_MAX)
 
#define MAGICK_SSIZE_MIN   (-(SSIZE_MAX)-1)
 
#define UndefinedTicksPerSecond   100L
 
#define UndefinedCompressionQuality   0UL
 
#define SSIZE_MAX   0x7fffffffL
 

Functions

static size_t CastDoubleToUnsigned (const double x)
 
static double DegreesToRadians (const double degrees)
 
static ssize_t CastDoubleToLong (const double value)
 
static MagickRealType RadiansToDegrees (const MagickRealType radians)
 
static unsigned char ScaleColor5to8 (const unsigned int color)
 
static unsigned char ScaleColor6to8 (const unsigned int color)
 
static unsigned int ScaleColor8to5 (const unsigned char color)
 
static unsigned int ScaleColor8to6 (const unsigned char color)
 

Variables

MagickExport const char BackgroundColor []
 
MagickExport const char BorderColor []
 
MagickExport const char DefaultTileFrame []
 
MagickExport const char DefaultTileGeometry []
 
MagickExport const char DefaultTileLabel []
 
MagickExport const char ForegroundColor []
 
MagickExport const char MatteColor []
 
MagickExport const char LoadImageTag []
 
MagickExport const char LoadImagesTag []
 
MagickExport const char PSDensityGeometry []
 
MagickExport const char PSPageGeometry []
 
MagickExport const char SaveImageTag []
 
MagickExport const char SaveImagesTag []
 
MagickExport const double DefaultResolution
 

Macro Definition Documentation

#define Magick2PI   6.28318530717958647692528676655900576839433879875020
#define MAGICK_SIZE_MAX   (SIZE_MAX)

Referenced by CastDoubleToUnsigned().

#define MAGICK_SSIZE_MAX   (SSIZE_MAX)

Referenced by CastDoubleToUnsigned().

#define MAGICK_SSIZE_MIN   (-(SSIZE_MAX)-1)
#define MagickPHI   1.61803398874989484820458683436563811772030917980576

Referenced by FxEvaluateSubexpression().

#define MagickPI2   1.57079632679489661923132169163975144209858469968755
#define MagickSQ1_2   0.70710678118654752440084436210484903928483593768847
#define MagickSQ2   1.41421356237309504880168872420969807856967187537695

Referenced by AcquireKernelBuiltIn().

#define MagickSQ2PI   2.50662827463100024161235523934010416269302368164062
#define UndefinedCompressionQuality   0UL
#define UndefinedTicksPerSecond   100L

Referenced by AcquireImage().

Function Documentation

static ssize_t CastDoubleToLong ( const double  value)
inlinestatic

References IsNaN, and SSIZE_MAX.

static size_t CastDoubleToUnsigned ( const double  x)
inlinestatic
static MagickRealType RadiansToDegrees ( const MagickRealType  radians)
inlinestatic
static unsigned char ScaleColor5to8 ( const unsigned int  color)
inlinestatic
static unsigned char ScaleColor6to8 ( const unsigned int  color)
inlinestatic
static unsigned int ScaleColor8to5 ( const unsigned char  color)
inlinestatic
static unsigned int ScaleColor8to6 ( const unsigned char  color)
inlinestatic

Variable Documentation

MagickExport const char BackgroundColor[]
MagickExport const char BorderColor[]

Referenced by AcquireImage(), and GetImageInfo().

MagickExport const double DefaultResolution
MagickExport const char DefaultTileFrame[]

Referenced by PreviewImage().

MagickExport const char DefaultTileGeometry[]

Referenced by GetMontageInfo().

MagickExport const char DefaultTileLabel[]

Referenced by PreviewImage().

MagickExport const char ForegroundColor[]
MagickExport const char LoadImagesTag[]
MagickExport const char LoadImageTag[]
MagickExport const char MatteColor[]

Referenced by AcquireImage(), and GetImageInfo().

MagickExport const char PSDensityGeometry[]
MagickExport const char PSPageGeometry[]
MagickExport const char SaveImagesTag[]
MagickExport const char SaveImageTag[]