Structure for Signature Icon Provider Handler. More...
#include <fpdf_signature_r.h>
Public Attributes | |
FS_LPVOID | clientData |
User-defined data. More... | |
FS_RESULT(* | GetIcon )(FS_LPVOID clientData, FSPDF_SIGNATURE sig, FS_INT32 nState, FSCRT_BITMAP *bitmap) |
Callback function to retrieve the specific state icon of a signature. More... | |
FS_RESULT(* | GetIconFitMode )(FS_LPVOID clientData, FSPDF_SIGNATURE sig, FS_INT32 nState, FS_INT32 *fitMode) |
Callback function to receive the display mode of the specified state icon of a signature. More... | |
FS_RESULT(* | NeedRotate )(FS_LPVOID clientData, FSPDF_SIGNATURE sig, FS_INT32 nState, FS_BOOL *needRotate) |
Callback function to retrieve whether the signature specified state icon will be rotated after the page rotation. More... | |
Structure for Signature Icon Provider Handler.
FS_LPVOID FSPDF_SIGNATUREICONPROVIDER::clientData |
User-defined data.
FS_RESULT(* FSPDF_SIGNATUREICONPROVIDER::GetIcon) (FS_LPVOID clientData, FSPDF_SIGNATURE sig, FS_INT32 nState, FSCRT_BITMAP *bitmap) |
Callback function to retrieve the specific state icon of a signature.
[in] | clientData | Pointer to any type data which indicates user-defined data. |
[in] | sig | Handle to a FSPDF_SIGNATURE object returned by function FSPDF_Doc_GetSignature or FSPDF_Signature_Add. |
[in] | nState | The state of signature. Please refer to macro definitions FSPDF_SIGNATURE_STATE_XXX and this should be one of these macros. |
[out] | bitmap | Handle to a FSCRT_BITMAP object. |
FS_RESULT(* FSPDF_SIGNATUREICONPROVIDER::GetIconFitMode) (FS_LPVOID clientData, FSPDF_SIGNATURE sig, FS_INT32 nState, FS_INT32 *fitMode) |
Callback function to receive the display mode of the specified state icon of a signature.
[in] | clientData | Pointer to any type data which indicates user-defined data. |
[in] | sig | Handle to a FSPDF_SIGNATURE object returned by function FSPDF_Doc_GetSignature or FSPDF_Signature_Add. |
[in] | nState | The state of signature. Please refer to macro definitions FSPDF_SIGNATURE_STATE_XXX and this should be one of these macros. |
[out] | fitMode | 16-bit integer size of display mode. Please refer to macro definitions FSPDF_SIGNATURE_ICONFITMODE_XXX and this would be one of these macros. |
FS_RESULT(* FSPDF_SIGNATUREICONPROVIDER::NeedRotate) (FS_LPVOID clientData, FSPDF_SIGNATURE sig, FS_INT32 nState, FS_BOOL *needRotate) |
Callback function to retrieve whether the signature specified state icon will be rotated after the page rotation.
[in] | clientData | Pointer to any type data which indicates user-defined data. |
[in] | sig | Handle to a FSPDF_SIGNATURE object returned by function FSPDF_Doc_GetSignature or FSPDF_Signature_Add. |
[in] | nState | The state of signature. Please refer to macro definitions FSPDF_SIGNATURE_STATE_XXX and this should be one of these macros. |
[out] | needRotate | TRUE means along with the rotation of the page otherwise FALSE means not with the rotating page. |