15 #ifndef FS_SNAPPOINTMGR_H_ 16 #define FS_SNAPPOINTMGR_H_ 43 typedef enum _SnappedPointType {
134 typedef enum _SnapPointFlags {
223 #endif // FS_SNAPPOINTMGR_H_ SnappedPointType
Enumeration for snapped point type.
Definition: fs_snappointmgr.h:43
SnapPointFlags
Enumeration for snapping point flags which are used to specify what kind of point in a path is to be ...
Definition: fs_snappointmgr.h:134
PointF GetPoint()
Get the point value.
SnappedPointType GetType()
Get the snapped point type.
If set, that means to get the endpoint of a path.
Definition: fs_snappointmgr.h:136
Snapped point type: intersection point, which means the snapped point is the intersection of two inte...
Definition: fs_snappointmgr.h:51
Definition: fx_coordinates.h:30
SnapPointMgr(const PDFPage &page)
Constructor, from a parsed PDF page object.
bool operator !=(const SnapPointMgr &other) const
Not equal operator.
Snapped point type: nearest point, which means the snapped point is the nearest point (which is in a ...
Definition: fs_snappointmgr.h:53
SnappedPoint & operator=(const SnappedPoint &other)
Assign operator.
If set, that means to get the midpoint for two endpoints of a path.
Definition: fs_snappointmgr.h:138
If set, that means to get the nearest point (which is in a path) to the specified point.
Definition: fs_snappointmgr.h:142
This means the snapped point is invalid.
Definition: fs_snappointmgr.h:45
bool operator==(const SnappedPoint &other) const
Equal operator.
bool operator==(const SnapPointMgr &other) const
Equal operator.
SnappedPoint GetSnappedPointAtPos(const PointF &position, foxit::uint32 flags)
Get the snapped point information at/around a specified position in PDF coordinate system.
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:196
Definition: fs_pdfpage.h:411
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
Header file for common definitions and classes.
If set, that means to get the intersection of two intersecting paths.
Definition: fs_snappointmgr.h:140
Definition: fs_snappointmgr.h:36
Snapped point type: endpoint, which means the snapped point is an endpoint of a path.
Definition: fs_snappointmgr.h:47
Definition: fs_basictypes.h:407
bool IsEmpty() const
Check whether current object is empty or not.
Header file for PDF page related definitions and classes.
Foxit namespace.
Definition: fs_taggedpdf.h:27
~SnappedPoint()
Destructor.
~SnapPointMgr()
Destructor.
SnapPointMgr & operator=(const SnapPointMgr &other)
Assign operator.
#define NULL
The null-pointer value.
Definition: fx_system.h:780
void Reload()
Reload current manager.
bool operator!=(const SnappedPoint &other) const
Not equal operator.
bool IsEmpty() const
Check whether current object is empty or not.
Definition: fs_snappointmgr.h:127
Snapped point type: midpoint, which means the snapped point is the midpoint for two endpoints of a pa...
Definition: fs_snappointmgr.h:49