InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPathOperationSuite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Shengliu Dai
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Note:
24 //
25 //========================================================================================
26 
27 #ifndef _IPathOperationSuite_
28 #define _IPathOperationSuite_
29 
36  {
37  public:
38  enum { kDefaultIID = IID_IPATHOPERATIONSUITE };
39 
40  public:
41 
46  virtual bool16 CanMakeCompoundPath (void) const = 0;
47 
52  virtual bool16 CanIntersectPath (void) const = 0;
53 
58  virtual bool16 CanUnionPath (void) const = 0;
59 
64  virtual bool16 CanDifferencePath (void) const = 0;
65 
70  virtual bool16 CanReverseDiffPath (void) const = 0;
71 
76  virtual bool16 CanXorPath (void) const = 0;
77 
82  virtual bool16 CanReleaseCompoundPath (void) const = 0;
83 
88  virtual bool16 CanReversePath (void) const = 0;
89 
94  virtual bool16 CanEndPathDrawing (void) const = 0;
95 
100  virtual ErrorCode MakeCompoundPath (void) = 0;
101 
106  virtual ErrorCode IntersectPath (void) = 0;
107 
112  virtual ErrorCode UnionPath (void) = 0;
113 
114 
119  virtual ErrorCode DifferencePath (void) = 0;
120 
125  virtual ErrorCode ReverseDiffPath (void) = 0;
126 
131  virtual ErrorCode XorPath (void) = 0;
132 
133 
138  virtual ErrorCode ReleaseCompoundPath (void) = 0;
139 
144  virtual ErrorCode ReversePath (void) = 0;
145 
150  virtual ErrorCode EndPathDrawing (void) = 0;
151  };
152 
153 #endif // _IPathOperationSuite_