typedef
struct
_t_PDThumb
*
PDThumb
;
typedef
struct
_t_PDThumbCreationServer
*
PDThumbCreationServer
;
NULL
. void
PDThumbCreationDrawThumbProc(
PDThumb
thumb
,
void
*
clientData
);
thumb | IN/OUT The thumbnail image to draw.
|
clientData | IN/OUT User-supplied data that was passed in the call to PDDocCreateThumbs().
|
NULL
. If it is NULL
, the thumbnail data is generated by the default thumbnail generator. ASBool
PDThumbCreationGetThumbDataProc(
PDPage
page
,
ASFixed
thumbScale
,
ASInt32
width
,
ASInt32
height
,
void
*
thumbData
,
void
*
clientData
);
page | IN/OUT The page for which to create a thumbnail image.
|
thumbScale | IN/OUT The scale to map from the page size to the thumbnail size, which is either 1/8 of the page size or is limited to
MAX_THUMBPAGE_WIDTH and MAX_THUMBPAGE_HEIGHT , whichever is smaller. |
width | IN/OUT The width of the thumbnail image to create.
|
height | IN/OUT The height of the thumbnail image to create.
|
thumbData |
where |
clientData | IN/OUT User-supplied data that was passed in the call to PDDocCreateThumbs().
|
NULL
. ASBool
PDThumbCreationNotifyPageProc(
ASInt32
pageNum
,
void
*
clientData
);
pageNum | IN/OUT The page for which to create a thumbnail image.
|
clientData | IN/OUT User-supplied data that was passed in the call to PDDocCreateThumbs().
|
| |
Set this field to
sizeof(PDThumbCreationServerRec) . | |
|
ASStm
PDThumbGetImageData(
PDThumb
thumb
,
ASInt32
*
height
,
ASInt32
*
width
,
ASInt32
*
bpc
,
ASAtom
*
csName
);
thumb | The thumb for which image data is to be retrieved.
|
height | (Filled by the method) The height of the thumbnail.
|
width | (Filled by the method) The width of the thumbnail.
|
bpc | (Filled by the method) The number of bits per component in the thumbnail image's data.
|
csName | (Filled by the method) The color space in which thumnail data is represented.
|
ASStm
PDThumbGetIndexedColorSpace(
PDThumb
thumb
,
ASInt32
*
hival
,
ASAtom
*
baseColorSpaceName
);
thumb | The thumb for which image data is to be retrieved.
|
hival | (Filled by the method) The highest valid index in the lookup table for the Indexed color space.
|
baseColorSpaceName | (Filled by the method) The base color space in which the values in the color table are to be interpreted.
|