InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDashedAttributeValues.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: jargast
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 __IDashedAttributeValues__
25 #define __IDashedAttributeValues__
26 
27 #include "IPMUnknown.h"
28 #include "InstStrokeFillID.h"
29 
35 {
36 public:
37  enum { kDefaultIID = IID_IDASHEDATTRIBUTEVALUES };
38 
44  enum CornerAdjustment { kNone, kAdjustDashes, kAdjustGaps, kAdjustBoth, kDefault = kAdjustBoth };
45 
62  virtual void SetValue(int32 n, const PMReal& value) = 0;
63 
72  virtual PMReal GetValue(int32 n) const = 0;
73 
77  virtual int32 NumValues() const = 0;
78 
84  virtual void ClearFrom (int32 n) = 0;
85 
91  virtual void GetDashArray (float* fltArray) const = 0;
92 
99  virtual bool16 IsEqual (const IDashedAttributeValues* iDashedVal) const = 0;
100 
104  virtual PMReal GetPhase (void) const = 0;
105 
111  virtual void SetPhase( PMReal newPhase ) = 0;
112 
118  virtual void Copy (const IDashedAttributeValues* iDashedVal) = 0;
119 
125  virtual void SetCornerAdjustment( CornerAdjustment cornerAdjustment ) = 0;
126 
130  virtual CornerAdjustment GetCornerAdjustment() const = 0;
131 };
132 
133 #endif