33 #ifndef __IPathGeometry__ 34 #define __IPathGeometry__ 36 #include "IPMUnknown.h" 37 #include "GraphicsID.h" 38 #include "PMPathPoint.h" 59 enum { kDefaultIID = IID_IPATHGEOMETRY } ;
64 enum { kDefaultPathSize = 8 };
132 virtual bool16
IsEmpty()
const = 0 ;
156 virtual int32
AddNewPath(int32 preallocatePoints = kDefaultPathSize) = 0;
166 virtual void InsertNewPath( int32 before, int32 preallocatePoints = kDefaultPathSize ) = 0 ;
340 bool16 ignoreSegments,
341 bool16 permitFlips ) = 0;
357 virtual ErrorCode
OpenPath(int32 whichPath) = 0;
365 virtual ErrorCode
ClosePath(int32 whichPath) = 0;
373 virtual bool16
IsPathOpen(int32 whichPath)
const = 0;
381 virtual ErrorCode
ReversePath( int32 whichPath ) = 0 ;
397 virtual bool16
IsPathClosed( int32 whichPath )
const = 0 ;
400 #endif // __IPathGeometry__