MagickCore 6.9.12
magick-type.h File Reference
Include dependency graph for magick-type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAGICKCORE_QUANTUM_DEPTH   16
 
#define MagickPathExtent   MaxTextExtent
 
#define MagickLLConstant(c)   ((MagickOffsetType) (c ## LL))
 
#define MagickULLConstant(c)   ((MagickSizeType) (c ## ULL))
 
#define MaxColormapSize   65536UL
 
#define MaxMap   65535UL
 
#define QuantumRange   ((Quantum) 65535)
 
#define QuantumFormat   "%u"
 
#define MagickEpsilon   (1.0e-12)
 
#define MagickMaximumValue   1.79769313486231570E+308
 
#define MagickMinimumValue   2.22507385850720140E-308
 
#define MagickStringify(macro_or_string)   MagickStringifyArg(macro_or_string)
 
#define MagickStringifyArg(contents)   #contents
 
#define QuantumScale   ((double) 1.0/(double) QuantumRange)
 
#define MagickOffsetFormat   "ld"
 
#define MagickSizeFormat   "lu"
 
#define IsNaN(a)   ((a) != (a))
 
#define INFINITY   ((double) -logf(0f))
 

Typedefs

typedef float MagickFloatType
 
typedef double MagickDoubleType
 
typedef ssize_t SignedQuantum
 
typedef unsigned short Quantum
 
typedef MagickDoubleType MagickRealType
 
typedef unsigned int MagickStatusType
 
typedef ssize_t MagickOffsetType
 
typedef size_t MagickSizeType
 
typedef size_t MagickAddressType
 
typedef MagickSizeType QuantumAny
 
typedef struct _BlobInfo BlobInfo
 
typedef struct _ExceptionInfo ExceptionInfo
 
typedef struct _Image Image
 
typedef struct _ImageInfo ImageInfo
 

Enumerations

enum  ChannelType {
  UndefinedChannel , RedChannel = 0x0001 , GrayChannel = 0x0001 , CyanChannel = 0x0001 ,
  GreenChannel = 0x0002 , MagentaChannel = 0x0002 , BlueChannel = 0x0004 , YellowChannel = 0x0004 ,
  AlphaChannel = 0x0008 , OpacityChannel = 0x0008 , MatteChannel = 0x0008 , BlackChannel = 0x0020 ,
  IndexChannel = 0x0020 , CompositeChannels = 0x002F , AllChannels = 0x7ffffff , TrueAlphaChannel = 0x0040 ,
  RGBChannels = 0x0080 , GrayChannels = 0x0080 , SyncChannels = 0x0100 , DefaultChannels = ((AllChannels | SyncChannels) &~ OpacityChannel)
}
 
enum  ClassType { UndefinedClass , DirectClass , PseudoClass }
 
enum  MagickBooleanType { MagickFalse = 0 , MagickTrue = 1 }
 

Macro Definition Documentation

◆ INFINITY

#define INFINITY   ((double) -logf(0f))

Definition at line 224 of file magick-type.h.

◆ IsNaN

#define IsNaN (   a)    ((a) != (a))

Definition at line 221 of file magick-type.h.

◆ MAGICKCORE_QUANTUM_DEPTH

#define MAGICKCORE_QUANTUM_DEPTH   16

Definition at line 28 of file magick-type.h.

◆ MagickEpsilon

#define MagickEpsilon   (1.0e-12)

Definition at line 115 of file magick-type.h.

◆ MagickLLConstant

#define MagickLLConstant (   c)    ((MagickOffsetType) (c ## LL))

Definition at line 38 of file magick-type.h.

◆ MagickMaximumValue

#define MagickMaximumValue   1.79769313486231570E+308

Definition at line 116 of file magick-type.h.

◆ MagickMinimumValue

#define MagickMinimumValue   2.22507385850720140E-308

Definition at line 117 of file magick-type.h.

◆ MagickOffsetFormat

#define MagickOffsetFormat   "ld"

Definition at line 137 of file magick-type.h.

◆ MagickPathExtent

#define MagickPathExtent   MaxTextExtent

Definition at line 31 of file magick-type.h.

◆ MagickSizeFormat

#define MagickSizeFormat   "lu"

Definition at line 138 of file magick-type.h.

◆ MagickStringify

#define MagickStringify (   macro_or_string)    MagickStringifyArg(macro_or_string)

Definition at line 118 of file magick-type.h.

◆ MagickStringifyArg

#define MagickStringifyArg (   contents)    #contents

Definition at line 119 of file magick-type.h.

◆ MagickULLConstant

#define MagickULLConstant (   c)    ((MagickSizeType) (c ## ULL))

Definition at line 39 of file magick-type.h.

◆ MaxColormapSize

#define MaxColormapSize   65536UL

Definition at line 77 of file magick-type.h.

◆ MaxMap

#define MaxMap   65535UL

Definition at line 78 of file magick-type.h.

◆ QuantumFormat

#define QuantumFormat   "%u"

Definition at line 87 of file magick-type.h.

◆ QuantumRange

#define QuantumRange   ((Quantum) 65535)

Definition at line 86 of file magick-type.h.

◆ QuantumScale

#define QuantumScale   ((double) 1.0/(double) QuantumRange)

Definition at line 120 of file magick-type.h.

Typedef Documentation

◆ BlobInfo

typedef struct _BlobInfo BlobInfo

Definition at line 227 of file magick-type.h.

◆ ExceptionInfo

typedef struct _ExceptionInfo ExceptionInfo

Definition at line 229 of file magick-type.h.

◆ Image

typedef struct _Image Image

Definition at line 231 of file magick-type.h.

◆ ImageInfo

typedef struct _ImageInfo ImageInfo

Definition at line 233 of file magick-type.h.

◆ MagickAddressType

typedef size_t MagickAddressType

Definition at line 151 of file magick-type.h.

◆ MagickDoubleType

typedef double MagickDoubleType

Definition at line 54 of file magick-type.h.

◆ MagickFloatType

typedef float MagickFloatType

Definition at line 43 of file magick-type.h.

◆ MagickOffsetType

typedef ssize_t MagickOffsetType

Definition at line 135 of file magick-type.h.

◆ MagickRealType

Definition at line 125 of file magick-type.h.

◆ MagickSizeType

typedef size_t MagickSizeType

Definition at line 136 of file magick-type.h.

◆ MagickStatusType

typedef unsigned int MagickStatusType

Definition at line 127 of file magick-type.h.

◆ Quantum

typedef unsigned short Quantum

Definition at line 85 of file magick-type.h.

◆ QuantumAny

Definition at line 157 of file magick-type.h.

◆ SignedQuantum

typedef ssize_t SignedQuantum

Definition at line 79 of file magick-type.h.

Enumeration Type Documentation

◆ ChannelType

Enumerator
UndefinedChannel 
RedChannel 
GrayChannel 
CyanChannel 
GreenChannel 
MagentaChannel 
BlueChannel 
YellowChannel 
AlphaChannel 
OpacityChannel 
MatteChannel 
BlackChannel 
IndexChannel 
CompositeChannels 
AllChannels 
TrueAlphaChannel 
RGBChannels 
GrayChannels 
SyncChannels 
DefaultChannels 

Definition at line 164 of file magick-type.h.

◆ ClassType

enum ClassType
Enumerator
UndefinedClass 
DirectClass 
PseudoClass 

Definition at line 191 of file magick-type.h.

◆ MagickBooleanType

Enumerator
MagickFalse 
MagickTrue 

Definition at line 198 of file magick-type.h.