CalligraphicShader Class Reference
#include <AdvancedStrokeShaders.h>
Inheritance diagram for CalligraphicShader:
List of all members.
Detailed Description
[ Thickness Shader ]. Assigns thicknesses to the stroke vertices so that the stroke looks like made with a calligraphic tool. i.e. The stroke will be the thickest in a main direction, the thinest in the direction perpendicular to this one, and an interpolation inbetween.
Constructor & Destructor Documentation
CalligraphicShader |
( |
real |
iMinThickness, |
|
|
real |
iMaxThickness, |
|
|
const Vec2f & |
iOrientation, |
|
|
bool |
clamp |
|
) |
|
|
|
Builds the shader. - Parameters:
-
| iMinThickness | The minimum thickness in the direction perpandicular to the main direction. |
| iMaxThickness | The maximum thickness in the main direction. |
| iOrientation | The 2D vector giving the main direction. |
| clamp | Tells ??? |
|
Member Function Documentation
virtual void shade |
( |
Stroke & |
ioStroke |
) |
const [virtual] |
|
The documentation for this class was generated from the following file: