InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGradientFillInstall.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Thanh Nguyen
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 // Install Gradient Fills.
24 //
25 //========================================================================================
26 
27 #ifndef __IGradientFillInstall__
28 #define __IGradientFillInstall__
29 
30 
31 #include "IPMUnknown.h"
32 #include "PMMatrix.h"
33 #include "IColorData.h"
34 #include "K2Vector.h"
35 #include "IGraphicsPort.h"
36 #include "IInkResourceData.h"
37 #include "GraphicTypes.h"
38 #include "GradientFillID.h"
39 
40 
50 {
51  public:
52  enum { kDefaultIID = IID_IGRADIENTFILLINSTALL } ;
53 
62  virtual void InstallGradient(IGraphicsPort* port, const PMRect& r, PMReal angle,
63  K2Vector<PMReal>* gradBound,
64  K2Vector<PMReal>* gradMidPoint,
65  GradientType gradType
66  ) = 0;
67 
82  virtual void InstallGradient( IGraphicsPort* port, PMReal length,
83  PMPoint innerCenter, PMPoint outerCenter,
84  PMReal radius, PMReal angle,
85  PMReal hiliteLen, PMReal hiliteAngle,
86  K2Vector<PMReal>* gradBound,
87  K2Vector<PMReal>* gradMidPoint,
88  GradientType gradType,
89  PMMatrix gradMatrix ) = 0 ;
90 
91 };
92 
93 #endif // __IGradientFillInstall__