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