Multimedia2DRendering  CATPrintGradient
Usage: you can derive this class.
 public class CATPrintGradient
 Base class for gradient attributes.
 The objective of this class is only to encapsulate gradient parameters.
 This is why all attribute members are public.
 Constructor and Destructor Index
 
 -  o 
    CATPrintGradient()
-   Default constructor.
 
-  o 
    CATPrintGradient(CATPrintGradient&)
-   Copy Constructor.
 
-  o 
    ~CATPrintGradient()
-   Default destructor.
Method Index
 
 -  o 
    Clone()
-   Factory method to avoid having to manipulate concrete classes.
 
-  o 
    operator=(CATPrintGradient&)
-   Assignment operator ('=' symbol)
 
 Enumerated Type Index
 
 -  o 
    eSpreadMethod
-   Possibles values for spread methods.
 Data Member Index
 
 -  o 
    _SpreadMethod
-   Spread method.
 
-  o 
    _StopList
-   Dynamic list containing every gradient stop.
 
-  o 
    _Transform
-   Transform matrix.
Constructor and Destructor
 
  o CATPrintGradient
  | public   CATPrintGradient( | ) | 
  - 
 Default constructor.
o CATPrintGradient| public   CATPrintGradient( | const | iGradient) | 
  - 
 Copy Constructor.
 
  -  Parameters:
  
- 
    
    -  iGradient
   
-    The gradient to copy.
 
 
o ~CATPrintGradient| public virtual   ~CATPrintGradient( | ) | 
  - 
 Default destructor.
Methods
 
  o Clone
  
  - 
 Factory method to avoid having to manipulate concrete classes.
 
  -  Returns: 
  
-     The cloned gradient.
 
o operator=| public virtual   operator=( | const | iGradient) | 
  - 
 Assignment operator ('=' symbol)
 
  -  Parameters:
  
- 
    
    -  iGradient
   
-    The gradient to copy.
 
 
-  Returns: 
  
-     This object, with the target attributes.
 
Enumerated Types
 
  o eSpreadMethod
  - 
enum eSpreadMethod {
  ePad,
  eReflect,
  eRepeat
}
Possibles values for spread methods.
Data Members
 
  o _SpreadMethod
  public eSpreadMethod _SpreadMethod
  - 
 Spread method.
 Defines how the gradient must be drawn on the primitive surface.
o _StopList
  public CATListOfGradientStops _StopList
  - 
 Dynamic list containing every gradient stop.
o _Transform
  public CATMath3x3Matrix _Transform
  - 
 Transform matrix.
 This object is included in the file: CATPrintGradient.h
If needed, your Imakefile.mk should include the module: CATMMedia2DRendering
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.