MagickCore  6.9.10
Convert, Edit, Or Compose Bitmap Images
image-private.h File Reference

Go to the source code of this file.

Macros

#define MagickAbsoluteValue(x)   ((x) < 0 ? -(x) : (x))
 
#define MagickMax(x, y)   (((x) > (y)) ? (x) : (y))
 
#define MagickMin(x, y)   (((x) < (y)) ? (x) : (y))
 
#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 UndefinedTicksPerSecond   100L
 
#define UndefinedCompressionQuality   0UL
 

Functions

static double DegreesToRadians (const double degrees)
 
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

◆ Magick2PI

#define Magick2PI   6.28318530717958647692528676655900576839433879875020

◆ MagickAbsoluteValue

#define MagickAbsoluteValue (   x)    ((x) < 0 ? -(x) : (x))

◆ MagickMax

#define MagickMax (   x,
 
)    (((x) > (y)) ? (x) : (y))

◆ MagickMin

#define MagickMin (   x,
 
)    (((x) < (y)) ? (x) : (y))

◆ MagickPHI

#define MagickPHI   1.61803398874989484820458683436563811772030917980576

◆ MagickPI

#define MagickPI   3.14159265358979323846264338327950288419716939937510

◆ MagickPI2

#define MagickPI2   1.57079632679489661923132169163975144209858469968755

◆ MagickSQ1_2

#define MagickSQ1_2   0.70710678118654752440084436210484903928483593768847

◆ MagickSQ2

#define MagickSQ2   1.41421356237309504880168872420969807856967187537695

◆ MagickSQ2PI

#define MagickSQ2PI   2.50662827463100024161235523934010416269302368164062

◆ UndefinedCompressionQuality

#define UndefinedCompressionQuality   0UL

◆ UndefinedTicksPerSecond

#define UndefinedTicksPerSecond   100L

Function Documentation

◆ DegreesToRadians()

◆ RadiansToDegrees()

static MagickRealType RadiansToDegrees ( const MagickRealType  radians)
inlinestatic

◆ ScaleColor5to8()

static unsigned char ScaleColor5to8 ( const unsigned int  color)
inlinestatic

◆ ScaleColor6to8()

static unsigned char ScaleColor6to8 ( const unsigned int  color)
inlinestatic

◆ ScaleColor8to5()

static unsigned int ScaleColor8to5 ( const unsigned char  color)
inlinestatic

◆ ScaleColor8to6()

static unsigned int ScaleColor8to6 ( const unsigned char  color)
inlinestatic

Variable Documentation

◆ BackgroundColor

MagickExport const char BackgroundColor[]
extern

◆ BorderColor

MagickExport const char BorderColor[]

◆ DefaultResolution

MagickExport const double DefaultResolution
extern

◆ DefaultTileFrame

MagickExport const char DefaultTileFrame[]

Referenced by PreviewImage().

◆ DefaultTileGeometry

MagickExport const char DefaultTileGeometry[]

Referenced by GetMontageInfo().

◆ DefaultTileLabel

MagickExport const char DefaultTileLabel[]

Referenced by PreviewImage().

◆ ForegroundColor

MagickExport const char ForegroundColor[]

◆ LoadImagesTag

MagickExport const char LoadImagesTag[]

◆ LoadImageTag

MagickExport const char LoadImageTag[]

◆ MatteColor

MagickExport const char MatteColor[]

◆ PSDensityGeometry

MagickExport const char PSDensityGeometry[]

◆ PSPageGeometry

MagickExport const char PSPageGeometry[]

◆ SaveImagesTag

MagickExport const char SaveImagesTag[]

◆ SaveImageTag

MagickExport const char SaveImageTag[]