PGFplatform.h man page

PGFplatform.h — PGF platform specific definitions.  

Synopsis

#include <cassert>
#include <cmath>
#include <cstdlib>

Macros

#define __PGFROISUPPORT__
#define __PGF32SUPPORT__
#define WordWidth   32
WordBytes*8.
#define WordWidthLog   5
ld of WordWidth
#define WordMask   0xFFFFFFE0
least WordWidthLog bits are zero
#define WordBytes   4
sizeof(UINT32)
#define WordBytesMask   0xFFFFFFFC
least WordBytesLog bits are zero
#define WordBytesLog   2
ld of WordBytes
#define DWWIDTHBITS(bits)   (((bits) + WordWidth - 1) & WordMask)
aligns scanline width in bits to DWORD value
#define DWWIDTH(bytes)   (((bytes) + WordBytes - 1) & WordBytesMask)
aligns scanline width in bytes to DWORD value
#define DWWIDTHREST(bytes)   ((WordBytes - (bytes)%WordBytes)%WordBytes)
DWWIDTH(bytes) - bytes.
#define __min(x,  y)   ((x) <= (y) ? (x) : (y))
#define __max(x,  y)   ((x) >= (y) ? (x) : (y))
#define ImageModeBitmap   0
#define ImageModeGrayScale   1
#define ImageModeIndexedColor   2
#define ImageModeRGBColor   3
#define ImageModeCMYKColor   4
#define ImageModeHSLColor   5
#define ImageModeHSBColor   6
#define ImageModeMultichannel   7
#define ImageModeDuotone   8
#define ImageModeLabColor   9
#define ImageModeGray16   10
#define ImageModeRGB48   11
#define ImageModeLab48   12
#define ImageModeCMYK64   13
#define ImageModeDeepMultichannel   14
#define ImageModeDuotone16   15
#define ImageModeRGBA   17
#define ImageModeGray32   18
#define ImageModeRGB12   19
#define ImageModeRGB16   20
#define ImageModeUnknown   255
#define __VAL(x)   (x)

Detailed Description

PGF platform specific definitions.

Author:

C. Stamm

Definition in file PGFplatform.h.

Macro Definition Documentation

#define __max(x, y)   ((x) >= (y) ? (x) : (y))

Definition at line 92 of file PGFplatform.h.

#define __min(x, y)   ((x) <= (y) ? (x) : (y))

Definition at line 91 of file PGFplatform.h.

#define __PGF32SUPPORT__

Definition at line 67 of file PGFplatform.h.

#define __PGFROISUPPORT__

Definition at line 60 of file PGFplatform.h.

#define __VAL(x)   (x)

Definition at line 604 of file PGFplatform.h.

#define DWWIDTH(bytes)   (((bytes) + WordBytes - 1) & WordBytesMask)

aligns scanline width in bytes to DWORD value

Definition at line 84 of file PGFplatform.h.

#define DWWIDTHBITS(bits)   (((bits) + WordWidth - 1) & WordMask)

aligns scanline width in bits to DWORD value

Definition at line 83 of file PGFplatform.h.

#define DWWIDTHREST(bytes)   ((WordBytes - (bytes)%WordBytes)%WordBytes)

DWWIDTH(bytes) - bytes.

Definition at line 85 of file PGFplatform.h.

#define ImageModeBitmap   0

Definition at line 98 of file PGFplatform.h.

#define ImageModeCMYK64   13

Definition at line 111 of file PGFplatform.h.

#define ImageModeCMYKColor   4

Definition at line 102 of file PGFplatform.h.

#define ImageModeDeepMultichannel   14

Definition at line 112 of file PGFplatform.h.

#define ImageModeDuotone   8

Definition at line 106 of file PGFplatform.h.

#define ImageModeDuotone16   15

Definition at line 113 of file PGFplatform.h.

#define ImageModeGray16   10

Definition at line 108 of file PGFplatform.h.

#define ImageModeGray32   18

Definition at line 116 of file PGFplatform.h.

#define ImageModeGrayScale   1

Definition at line 99 of file PGFplatform.h.

#define ImageModeHSBColor   6

Definition at line 104 of file PGFplatform.h.

#define ImageModeHSLColor   5

Definition at line 103 of file PGFplatform.h.

#define ImageModeIndexedColor   2

Definition at line 100 of file PGFplatform.h.

#define ImageModeLab48   12

Definition at line 110 of file PGFplatform.h.

#define ImageModeLabColor   9

Definition at line 107 of file PGFplatform.h.

#define ImageModeMultichannel   7

Definition at line 105 of file PGFplatform.h.

#define ImageModeRGB12   19

Definition at line 117 of file PGFplatform.h.

#define ImageModeRGB16   20

Definition at line 118 of file PGFplatform.h.

#define ImageModeRGB48   11

Definition at line 109 of file PGFplatform.h.

#define ImageModeRGBA   17

Definition at line 115 of file PGFplatform.h.

#define ImageModeRGBColor   3

Definition at line 101 of file PGFplatform.h.

#define ImageModeUnknown   255

Definition at line 119 of file PGFplatform.h.

#define WordBytes   4

sizeof(UINT32)

Definition at line 76 of file PGFplatform.h.

#define WordBytesLog   2

ld of WordBytes

Definition at line 78 of file PGFplatform.h.

#define WordBytesMask   0xFFFFFFFC

least WordBytesLog bits are zero

Definition at line 77 of file PGFplatform.h.

#define WordMask   0xFFFFFFE0

least WordWidthLog bits are zero

Definition at line 75 of file PGFplatform.h.

#define WordWidth   32

WordBytes*8.

Definition at line 73 of file PGFplatform.h.

#define WordWidthLog   5

ld of WordWidth

Definition at line 74 of file PGFplatform.h.

Author

Generated automatically by Doxygen for libpgf from the source code.

Info

Sat Feb 11 2017 Version 6.14.12 libpgf