InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXPSetDropShadowCmdData.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 __IXPSetDropShadowCmdData__
25 #define __IXPSetDropShadowCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "XPID.h"
29 
30 #include "GraphicTypes.h"
31 
33 {
34 public:
35  DropShadowData() :
36  fMode (kDSMNone),
37  fBlendMode (kPMBlendNormal),
38  fOffsetX (0.),
39  fOffsetY (0.),
40  fColorUID (kInvalidUID),
41  fOpacity (0.),
42  fBlurRadius (0.),
43  fSpread (0.),
44  fNoise (0.),
45  fUseGlobalLight(kFalse),
46  fKnockout(kFalse)
47  {}
48 
49  PMDropShadowMode fMode;
50  PMBlendingMode fBlendMode;
51  PMReal fOffsetX;
52  PMReal fOffsetY;
53  UID fColorUID;
54  PMReal fOpacity;
55  PMReal fBlurRadius;
56  PMReal fSpread;
57  PMReal fNoise;
58  bool32 fUseGlobalLight;
59  bool32 fKnockout;
60 };
61 
63 {
64  public:
65  enum { kDefaultIID = IID_IXPSETDROPSHADOWCMDDATA };
66 
67  DropShadowData fData;
68  int32 fSetMode,
69  fSetBlendMode,
70  fSetOffsetX,
71  fSetOffsetY,
72  fSetColorUID,
73  fSetOpacity,
74  fSetBlurRadius,
75  fSetSpread,
76  fSetNoise,
77  fSetUseGlobalLight,
78  fSetKnockout;
79 };
80 
81 #endif