InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXPSetVignetteCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Phillips
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 __IXPSetVignetteCmdData__
25 #define __IXPSetVignetteCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "XPID.h"
29 
30 #include "GraphicTypes.h"
31 
33 {
34 public:
35  VignetteData() :
36  fWidth (36.),
37  fInnerOpacity (100.),
38  fOuterOpacity (0.),
39  fNoise (0.),
40  fMode(kVTMNone),
41  fCorners(kVTCSharp)
42  {}
43 
44  PMReal fWidth;
45  PMReal fInnerOpacity;
46  PMReal fOuterOpacity;
47  PMReal fNoise;
48  PMVignetteMode fMode;
49  PMVignetteCorners fCorners;
50 };
51 
53 {
54  public:
55  enum { kDefaultIID = IID_IXPSETVIGNETTECMDDATA };
56 
57  VignetteData fData;
58  int32 fSetMode,
59  fSetWidth,
60  fSetInnerOpacity,
61  fSetOuterOpacity,
62  fSetCorners,
63  fSetNoise;
64 };
65 
66 #endif