26 #ifndef _FSCRT_PSI_W_H_ 27 #define _FSCRT_PSI_W_H_ 59 #ifndef _FSCRT_DEF_HANDLE_PSI_ 60 #define _FSCRT_DEF_HANDLE_PSI_ 63 FSCRT_DEFINEHANDLE(FSCRT_PSI);
67 #ifndef _FSCRT_DEF_MACRO_PSI_PT_ 68 #define _FSCRT_DEF_MACRO_PSI_PT_ 77 #define FSCRT_PSI_PT_LINETO FSCRT_POINTTYPE_LINETO 79 #define FSCRT_PSI_PT_MOVETO FSCRT_POINTTYPE_MOVETO 81 #define FSCRT_PSI_PT_ENDPATH 0x08 339 FSCRT_PAGE pdfPage,
const FSCRT_RECTF* annotRect, FSCRT_ANNOT* annot);
Structure for rectangle, in float.
Definition: fs_base_r.h:2078
FS_RESULT FSCRT_PSI_ConvertToPDFAnnot(FSCRT_PSI psi, const FSCRT_RECTF *psiRect, FSCRT_PAGE pdfPage, const FSCRT_RECTF *annotRect, FSCRT_ANNOT *annot)
Convert a pressure sensitive ink object to a PDF annotation.
float FS_FLOAT
32-bit floating-point number, single precision.
Definition: fs_base_r.h:148
FS_RESULT FSCRT_PSI_AddPoint(FSCRT_PSI psi, FS_FLOAT x, FS_FLOAT y, FS_FLOAT pressure, FS_DWORD pointType)
Add a point to a pressure sensitive ink object.
unsigned int FS_DWORD
32-bit unsigned integer.
Definition: fs_base_r.h:142
int FS_INT32
32-bit signed integer.
Definition: fs_base_r.h:175
FS_RESULT FSCRT_PSI_Release(FSCRT_PSI psi)
Destroy a pressure sensitive ink object.
FS_RESULT FSCRT_PSI_GetContentsRect(FSCRT_PSI psi, FSCRT_RECTF *psiRect)
Get contents rectangle of a pressure sensitive ink object.
FS_RESULT FSCRT_PSI_InitCanvas(FSCRT_PSI psi, FS_FLOAT width, FS_FLOAT height)
Initialize a canvas for pressure sensitive ink.
int FS_BOOL
Boolean type (This should be TRUE or FALSE).
Definition: fs_base_r.h:133
FS_RESULT FSCRT_PSI_Render(FSCRT_PSI psi, FSCRT_RENDERER renderer, FS_INT32 xDes, FS_INT32 yDes, FS_INT32 width, FS_INT32 height, FS_FLOAT xSrc, FS_FLOAT ySrc)
Render a pressure sensitive ink object.
unsigned int FS_ARGB
ARGB color type, 32 bits, ((b) | ((g) << 8) | ((r) << 16)) | ((a) << 24)
Definition: fs_base_r.h:145
FS_RESULT FSCRT_PSI_SetInkDiameter(FSCRT_PSI psi, FS_INT32 diameter)
Set ink diameter of a pressure sensitive ink object.
FS_RESULT FSCRT_PSI_SetOpacity(FSCRT_PSI psi, FS_FLOAT opacity)
Set ink opacity of a pressure sensitive ink object.
FS_RESULT FSCRT_PSI_Create(FS_BOOL simulate, FSCRT_PSI *psi)
Create a pressure sensitive ink object.
FS_RESULT FSCRT_PSI_SetInkColor(FSCRT_PSI psi, FS_ARGB color)
Set ink color of a pressure sensitive ink object.
int FS_RESULT
Result code for functions in Foxit PDF SDK.
Definition: fs_base_r.h:160