Inheritance diagram for XFcPrimitiveDrawGradientFiller:
Public Member Functions | |
virtual XFCIMPORT | ~XFcPrimitiveDrawGradientFiller () |
Virtual destructor. | |
virtual XFCIMPORT void | initFill () |
Initializes the filler for filling. | |
virtual XFCIMPORT void | deinitFill () |
Deinitializes the filler after rendering. | |
virtual XFCIMPORT void | addGradientStop (REAL aOffset, UINT32 aColor) |
Adds a gradient stop to the gradient. | |
virtual XFCIMPORT void | resetGradient () |
Reset the gradient, clears the gradient stops. | |
virtual XFCIMPORT void | setSpreadMethod (INT32 aSpreadMethod) |
Sets the spread method for the gradient. | |
virtual XFCIMPORT void | setTransformation (XFcMatrix3 &aTransformation) |
Sets the transformation for the gradient. | |
virtual XFCIMPORT void | setGradientTransformation (XFcMatrix3 &aGradientTransformation) |
Sets the gradient transformation for the gradient. | |
Protected Member Functions | |
XFcPrimitiveDrawGradientFiller () | |
Protected constuctor. | |
virtual INT | initGradient () |
Inits the gradient, returns 0 if init fails. | |
virtual void | increaseStopNodeStorage () |
Increases the size of the stop node storage list. | |
virtual void | calculateGradientData () |
Calculates the gradient data based on the stop nodes. | |
virtual void | calculateGradientTransformation () |
Calculates the gradient transformation. | |
Protected Attributes | |
XFcPrimitiveDrawGradientStopNode * | mFirstStopNode |
XFcPrimitiveDrawGradientStopNode * | mStopNodeStorage |
UINT32 * | mGradientData |
XFcMatrix3 | mGlobalTransformation |
XFcMatrix3 | mTransformation |
XFcMatrix3 | mGradientTransformation |
INT32 | mSpreadMethod |
INT32 | mRequiresUpdate |
|
Virtual destructor.
|
|
Protected constuctor.
|
|
Adds a gradient stop to the gradient.
|
|
Calculates the gradient data based on the stop nodes.
|
|
Calculates the gradient transformation.
Reimplemented in XFcPrimitiveDrawLinearGradientFiller. |
|
Deinitializes the filler after rendering. This should be called after calling fill() for the last filled span. Implements XFcPrimitiveDrawFiller. |
|
Increases the size of the stop node storage list.
|
|
Initializes the filler for filling. This should be called before calling fill() for the first filled span. Implements XFcPrimitiveDrawFiller. |
|
Inits the gradient, returns 0 if init fails.
|
|
Reset the gradient, clears the gradient stops.
|
|
Sets the gradient transformation for the gradient. This is the transformation that is applied when transforming from gradient space to rendering space, and allows operations such as skewing the gradient. |
|
Sets the spread method for the gradient. Possible values are XFC_PRIMITIVEDRAW_GRADIENT_SPREAD_PAD, XFC_PRIMITIVEDRAW_GRADIENT_SPREAD_REFLECT and XFC_PRIMITIVEDRAW_GRADIENT_SPREAD_REPEAT |
|
Sets the transformation for the gradient. This is the transformation of the shape which is filled with the gradient. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |