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