3#ifndef PDFSDK_CORE_TYPES_H_INCLUDED_
4#define PDFSDK_CORE_TYPES_H_INCLUDED_
21#define kPDAfterLast ((size_t)-1)
45typedef uint32_t PDColorValue;
46#define kPDColorNone ((PDColorValue)0x00000000)
48#define PDF_COLOR_GET_A(cv) ((uint8_t)((cv) >> 24))
49#define PDF_COLOR_GET_R(cv) ((uint8_t)((cv) >> 16))
50#define PDF_COLOR_GET_G(cv) ((uint8_t)((cv) >> 8))
51#define PDF_COLOR_GET_B(cv) ((uint8_t)((cv) >> 0))
52#define PDF_MAKE_COLOR(A, R, G, B) (((((uint32_t)(A)) & 0xFF) << 24) | \
53 ((((uint32_t)(R)) & 0xFF) << 16) | \
54 ((((uint32_t)(G)) & 0xFF) << 8) | \
55 ((((uint32_t)(B)) & 0xFF) << 0))
57typedef struct PDActionRec_* PDAction;
58typedef struct PDAnnotRec_* PDAnnot;
59typedef struct PDDestRec_* PDDest;
60typedef struct PDFileSpecRec_* PDFileSpec;
61typedef struct PDDocRec_* PDDoc;
int month
The month in the range 1..12.
Definition types.h:25
int tz_sign
The "sign" of the time zone, (0) means UTC, (-1) is west, (+1) is east.
Definition types.h:30
int year
The year.
Definition types.h:24
int tz_hour
The time zone hour in the range 0..23.
Definition types.h:31
int day
The day of the month in the range 1..31.
Definition types.h:26
int hour
The hour in the range 0..23.
Definition types.h:27
int tz_minute
The time zone minute in the range 0..59.
Definition types.h:32
int second
The second in the range 0..59.
Definition types.h:29
int minute
The minute in the range 0..59.
Definition types.h:28
PDRotate
Specifies degrees of rotation.
Definition types.h:38
@ kPDRotate_0
Definition types.h:39
@ kPDRotate_90
Definition types.h:40
@ kPDRotate_180
Definition types.h:41
@ kPDRotate_270
Definition types.h:42