InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPathStorage.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Jack Kirstein
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 
24 #ifndef __IPathStorage__
25 #define __IPathStorage__
26 
27 #include "IPMUnknown.h"
28 #include "GraphicsID.h"
29 #include "PMReal.h"
30 class IViewPort;
31 class IOutlineInfo;
32 
39 class IPathStorage : public IPMUnknown
40 {
41  public:
49  virtual void ReplayPath(IViewPort* dstPort) = 0;
50 
58  virtual void CapturePath(IViewPort* srcPort) = 0;
59 
63  virtual void ClearPath() = 0;
64 
71  virtual void GetPathInfo(IOutlineInfo* callBack) = 0;
72 
78  virtual int32 GetNumPathSegs() = 0;
79 
86  virtual void moveto(const PMReal& x, const PMReal& y) = 0;
87 
96  virtual void lineto(const PMReal& x, const PMReal& y) = 0;
97 
113  virtual void curveto(const PMReal& x1, const PMReal& y1, const PMReal& x2, const PMReal& y2, const PMReal& x3, const PMReal& y3) = 0;
114 
125  virtual void closepath() = 0;
126 };
127 #endif