Header file for Pressure Sensitive Ink module. More...
Go to the source code of this file.
Classes | |
struct | FSCRT_PSI |
Handle type to Pressure Sensitive Ink. More... | |
Macros | |
Macro Definitions for Point Flags | |
| |
#define | FSCRT_PSI_PT_LINETO FSCRT_POINTTYPE_LINETO |
Point adding flags of LINE TO. | |
#define | FSCRT_PSI_PT_MOVETO FSCRT_POINTTYPE_MOVETO |
Point adding flags of MOVE TO. | |
#define | FSCRT_PSI_PT_ENDPATH 0x08 |
Point adding flags of END PATH. | |
Functions | |
FS_RESULT | FSCRT_PSI_Create (FS_BOOL simulate, FSCRT_PSI *psi) |
Create a pressure sensitive ink object. More... | |
FS_RESULT | FSCRT_PSI_Release (FSCRT_PSI psi) |
Destroy a pressure sensitive ink object. More... | |
FS_RESULT | FSCRT_PSI_InitCanvas (FSCRT_PSI psi, FS_FLOAT width, FS_FLOAT height) |
Initialize a canvas for pressure sensitive ink. More... | |
FS_RESULT | FSCRT_PSI_SetInkColor (FSCRT_PSI psi, FS_ARGB color) |
Set ink color of a pressure sensitive ink object. More... | |
FS_RESULT | FSCRT_PSI_SetInkDiameter (FSCRT_PSI psi, FS_INT32 diameter) |
Set ink diameter of a pressure sensitive ink object. More... | |
FS_RESULT | FSCRT_PSI_SetOpacity (FSCRT_PSI psi, FS_FLOAT opacity) |
Set ink opacity of a pressure sensitive ink object. More... | |
FS_RESULT | FSCRT_PSI_GetContentsRect (FSCRT_PSI psi, FSCRT_RECTF *psiRect) |
Get contents rectangle of a pressure sensitive ink object. More... | |
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. More... | |
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. More... | |
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. More... | |
Header file for Pressure Sensitive Ink module.
Copyright (C) 2003-2017, Foxit Software Inc.. All Rights Reserved.
The following code is copyrighted and contains proprietary information and trade secrets of Foxit Software Inc.. It is not allowed to distribute any parts of Foxit PDF SDK to any third parties or general public, unless there is a license agreement between Foxit Software Inc. and customers.
Functionality covered in this header file is based on pressure sensitivity technology.
Pressure Sensitive Ink is an imitation of handwriting.
Users can call APIs provided in this header file to: