28 #include "IPMStream.h" 57 DECLARE_BASE_TYPE(PMPathPointType);
63 enum PMPathSegmentType
79 inline int32 PT_INDEX( int32 n, int32 total ) {
return (n + total) % total ; }
91 fSelector( kAnchorPt ),
92 fAdornmentClass(kInvalidClass)
95 PointSelector( int32 path, int32 point, PathPointIndex flags = kAnchorPt,
ClassID adornmentClass = kInvalidClass ) :
99 fAdornmentClass (adornmentClass)
105 void PathIndex( int32 pathIndex ) { fPathIndex = pathIndex ; }
110 void PointIndex( int32 pointIndex ) { fPointIndex = pointIndex ; }
113 PathPointIndex
Selector()
const {
return fSelector ; }
115 void Selector( PathPointIndex selector ) { fSelector = selector ; }
125 return ( fPathIndex == other.fPathIndex && fPointIndex == other.fPointIndex && fSelector == other.fSelector ) ;
130 return ( fPathIndex != other.fPathIndex || fPointIndex != other.fPointIndex || fSelector != other.fSelector ) ;
135 if ( fPathIndex < other.fPathIndex )
137 if ( fPathIndex > other.fPathIndex )
139 if ( fPointIndex < other.fPointIndex )
148 s->
XferID(fAdornmentClass);
153 PathPointIndex fSelector ;