image-private.h File Reference

Go to the source code of this file.

Defines

#define MagickAbsoluteValue(x)   ((x) < 0 ? -(x) : (x))
#define MagickMax(x, y)   (((x) > (y)) ? (x) : (y))
#define MagickMin(x, y)   (((x) < (y)) ? (x) : (y))
#define Magick2PI   6.28318530717958647692528676655900576839433879875020
#define MagickPHI   1.61803398874989484820458683436563811772030917980576
#define MagickPI   3.14159265358979323846264338327950288419716939937510
#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 double RadiansToDegrees (const double 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 AlphaColor []
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 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

Define Documentation

#define Magick2PI   6.28318530717958647692528676655900576839433879875020
#define MagickAbsoluteValue (  )     ((x) < 0 ? -(x) : (x))
#define MagickMax ( x,
 )     (((x) > (y)) ? (x) : (y))

Referenced by AcquireImageColormap(), AcquireKernelBuiltIn(), AcquirePixelThreadSet(), CompareImages(), CompositeHCL(), ConsolidateCrossings(), ConvertRGBToHCL(), ConvertRGBToHCLp(), ConvertRGBToHSL(), ConvertRGBToHSV(), ConvertRGBToHWB(), DestroyPixelThreadSet(), DitherImage(), DrawAffineImage(), GenerateCoefficients(), Get8BIMProperty(), GetAbsoluteDistortion(), GetEdgeBoundingBox(), GetFillAlpha(), GetFuzzDistortion(), GetFuzzyColorDistance(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), GetPixelCacheTileSize(), GetPixelInfoIntensity(), GetPixelIntensity(), GetStructuralSimilarityDistortion(), GetTypeInfoByFamily(), GradientImage(), GrayscaleImage(), HorizontalFilter(), HuffmanDecodeImage(), HuffmanEncodeImage(), IsEquivalentAlpha(), IsEquivalentIntensity(), IsFuzzyEquivalencePixelInfo(), IsImagesEqual(), LocalContrastImage(), MontageImageList(), ParseMetaGeometry(), PolaroidImage(), RenderMVGContent(), ResourceComponentGenesis(), SaneStrokeWidth(), SetGrayscaleImage(), SetImageColorMetric(), SetMagickResourceLimit(), SetPixelCacheNexusPixels(), SetQuantumDepth(), StatisticImage(), SwirlImage(), TraceEllipse(), VerticalFilter(), WaveletDenoiseImage(), XColorBrowserWidget(), XCommandWidget(), XConfirmWidget(), XDialogWidget(), XFileBrowserWidget(), XFontBrowserWidget(), XGetPixelInfo(), XListBrowserWidget(), XMakeStandardColormap(), XMenuWidget(), XNoticeWidget(), XPreferencesWidget(), and XTextViewWidget().

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

Referenced by AcquireRandomInfo(), AcquireUniqueSymbolicLink(), ApplyEvaluateOperator(), BlobToFile(), ChannelImage(), CLAHEImage(), ClonePixelCacheOnDisk(), ClonePixelCacheRepository(), CompareImages(), CompareStringInfo(), ComplexImages(), CompositeHCL(), CompositeImage(), ConfigureFileToStringInfo(), ConsolidateCrossings(), ConvertRGBToHCL(), ConvertRGBToHCLp(), ConvertRGBToHSI(), ConvertRGBToHSL(), ConvertRGBToHSV(), ConvertRGBToHWB(), CopyDelegateFile(), DiscardBlobBytes(), dpc_read(), dpc_send(), DrawAffineImage(), FileToBlob(), FileToImage(), FileToXML(), GenerateCoefficients(), Get8BIMProperty(), GetAbsoluteDistortion(), GetEdgeBoundingBox(), GetICCProperty(), GetImageQuantumDepth(), GetMinEdgeBackgroundFactor(), GetPixelInfoIntensity(), GetPixelIntensity(), GetQuantumRange(), GetTypeInfoByFamily(), GetVirtualPixelCacheNexus(), GlobExpression(), GradientImage(), GrayscaleImage(), HaldClutImage(), HorizontalFilter(), HuffmanEncodeImage(), IdentifyImage(), ImageToFile(), InjectImageBlob(), KmeansImage(), LoadLocaleCache(), MontageImageList(), PosterizeImage(), PrintStringInfo(), ReadBlob(), ReadBlobStream(), ReadMatrixElements(), ReadPixelCacheRegion(), RenderMVGContent(), SaneStrokeWidth(), SetMagickResourceLimit(), SetQuantumDepth(), SetStringInfo(), ShredFile(), SimilarityImage(), SpliceImage(), StringToStrings(), TraceBezier(), TracePSClippath(), TraceSVGClippath(), VerticalFilter(), WriteBlob(), WriteMatrixElements(), WritePixelCacheRegion(), XColorBrowserWidget(), XFileBrowserWidget(), XFontBrowserWidget(), XListBrowserWidget(), XMakeStandardColormap(), and XTextViewWidget().

#define MagickPHI   1.61803398874989484820458683436563811772030917980576

Referenced by FxEvaluateSubexpression().

#define MagickPI   3.14159265358979323846264338327950288419716939937510
#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 double DegreesToRadians ( const double  degrees  )  [inline, static]
static double RadiansToDegrees ( const double  radians  )  [inline, static]
static unsigned char ScaleColor5to8 ( const unsigned int  color  )  [inline, static]
static unsigned char ScaleColor6to8 ( const unsigned int  color  )  [inline, static]
static unsigned int ScaleColor8to5 ( const unsigned char  color  )  [inline, static]
static unsigned int ScaleColor8to6 ( const unsigned char  color  )  [inline, static]

Variable Documentation

MagickExport const char AlphaColor[]
MagickExport const char BackgroundColor[]
MagickExport const char BorderColor[]
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[]

Referenced by XGetPixelInfo(), and XGetResourceInfo().

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

Generated on 20 Jan 2020 for MagickCore by  doxygen 1.6.1