InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISetStripedAttrCmdData.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 // Defines the interface by which a stroker determines its parameters, which
24 //
25 // for now include start and width pairs (each is a percentage of the stroke width)
26 //
27 //========================================================================================
28 
29 #ifndef __ISetStripedAttrCmdData__
30 #define __ISetStripedAttrCmdData__
31 
32 #include "ScotchRulesID.h"
33 
42 {
43 public:
44  enum { kDefaultIID = IID_ISETSTRIPEDATTRCMDDATA };
45 
51  virtual uint32 GetParamCount() const = 0;
52 
60  virtual void SetParamCount(uint32 count) = 0;
61 
71  virtual void GetNthParam(uint32 n, PMReal &start, PMReal &width) const = 0;
72 
82  virtual void SetNthParam(uint32 n, PMReal const &start, PMReal const &width) = 0;
83 };
84 
85 #endif