![]() | InDesign SDK 20.5 |
#include <IPathFinder.h>

Public Types | |
| enum | { kDefaultIID = IID_IPATHFINDER } |
| enum | PathType { kNon_zero, kEven_odd } |
| enum | CombineType { kIntersect, kUnion, kDifference, kXOr } |
Public Member Functions | |
| virtual ErrorCode | AddPath (const IPathGeometry *pathData, PathType pathType=kEven_odd)=0 |
| virtual ErrorCode | Combine (IPathGeometry *result, CombineType combineType, PathType resultType=kEven_odd, PMReal flatness=PMReal(kDefaultFlatness))=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IPathFinder is an interface for intersecting, unioning, differencing or xoring
multiple paths.
| anonymous enum |
default IID for this interface
CombineType defines the various ways to combine multiple paths
| pure virtual |
Add a path to the PathFinder engine - Call this once for each input path
| pathData | - IN: A source path. |
| pathType | - IN: Rule used to determine insideness. |
| pure virtual |
Combine the paths supplied via AddPath() in the order supplied.
| result | - OUT: The resulting path. |
| combineType | - IN: How you want the input paths combined. |
| resultType | - IN: Insideness rule to assign to the resulting path. |
| flatness | - IN: Postscript flatness value between kMinFlatness and kMaxFlatness |