ThicknessVariationPatternShader Class Reference
#include <BasicStrokeShaders.h>
Inheritance diagram for ThicknessVariationPatternShader:
List of all members.
Detailed Description
[ Thickness Shader ]. Applys a pattern (texture) to vary thickness. The new thicknesses are the result of the multiplication of the pattern and the original thickness
Constructor & Destructor Documentation
|
Builds the shader. - Parameters:
-
| pattern_name | The texture file name. |
| iMinThickness | The minimum thickness we don't want to exceed. |
| iMaxThickness | The maximum thickness we don't want to exceed. |
| stretch | Tells whether the pattern texture must be stretched or repeted to fit the stroke. |
|
Member Function Documentation
virtual void shade |
( |
Stroke & |
stroke |
) |
const [virtual] |
|
The documentation for this class was generated from the following file: