95 PSI(
int width,
int height,
bool simulate);
bool operator !=(const PSI &other) const
Not equal operator.
Definition: fs_image.h:36
void AddPoint(const PointF &point, common::Path::PointType type, float pressure)
Add a point.
void SetColor(RGB color)
Set ink color.
uint32 RGB
RGB color type, 24 bits, ((b) | ((g) << 8) | ((r) << 16)))
Definition: fs_basictypes.h:212
Definition: fx_coordinates.h:30
common::Bitmap GetBitmap()
Get the canvas bitmap.
void SetOpacity(float opacity)
Set ink opacity.
virtual void Release()=0
A callback function used to release current callback object itself.
void SetCallback(PSICallback *callback)
Set a callback object for refreshing.
PSI & operator=(const PSI &other)
Assign operator.
Header file for annotation related definitions and classes.
void SetDiameter(int diameter)
Set ink diameter.
Definition: fs_annot.h:4993
PSI(common::Bitmap &bitmap, bool simulate)
Constructor, with a bitmap as canvas.
bool IsEmpty() const
Check whether current object is empty or not.
Definition: fs_pdfpage.h:411
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
Header file for common definitions and classes.
RectF GetContentsRect()
Get contents rectangle.
bool operator==(const PSI &other) const
Equal operator.
Definition: fs_basictypes.h:407
Header file for PDF page related definitions and classes.
Rotation
Enumeration for rotation.
Definition: fs_common.h:57
Foxit namespace.
Definition: fs_taggedpdf.h:27
annots::PSInk ConvertToPDFAnnot(const PDFPage &page, const RectF &annot_rect, common::Rotation rotate)
Convert a PSI object to a PSInk annotation and insert the PSInk annotation to a PDF page.
#define NULL
The null-pointer value.
Definition: fx_system.h:780
virtual void Refresh(PSI psi, const RectF &rect)=0
A callback function used to refresh a specified region for PSI.
PointType
Enumeration for point type in path.
Definition: fs_common.h:1915
Definition: fx_coordinates.h:771