InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IStrokeEditorPanelData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Greg St. Pierre
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 // ADOBE CONFIDENTIAL
24 //
25 //========================================================================================
26 
27 #ifndef __IStrokeEditorPanelData__
28 #define __IStrokeEditorPanelData__
29 
30 #include "GraphicPanelsID.h"
31 
32 class IGraphicsPort;
33 class IPathStroker;
34 class IDataBase;
35 
43 {
44 public:
45  enum { kDefaultIID = IID_ISTROKEEDITORPANELDATA };
46 
61  virtual void Initialize(IPathStroker const *stroker, bool16 &wasApplicable) = 0;
62 
68  virtual void CleanUp() = 0;
69 
76  virtual IPathStroker *GetPathStroker() const = 0;
77 
87  virtual void DrawPreview(
88  IGraphicsPort *port,
89  PMPoint const &start,
90  PMPoint const &end,
91  PMReal const &strokeWeight
92  ) const = 0;
93 
101  virtual IPathStroker *CreatePathStroker(IDataBase *db) const = 0;
102 
109  virtual bool16 UpdatePathStroker(IPathStroker *stroker) const = 0;
110 };
111 
112 #endif