h o m e | d o c u m e n t a t i o n | c l a s s h i e r a r c h y |
#include <AdvancedStrokeShaders.h>
Inheritance diagram for CalligraphicShader:
Public Member Functions | |
CalligraphicShader (real iMinThickness, real iMaxThickness, const Vec2f &iOrientation, bool clamp) | |
virtual | ~CalligraphicShader () |
virtual void | shade (Stroke &ioStroke) const |
CalligraphicShader | ( | real | iMinThickness, | |
real | iMaxThickness, | |||
const Vec2f & | iOrientation, | |||
bool | clamp | |||
) |
Builds the shader.
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 ??? |
virtual ~CalligraphicShader | ( | ) | [inline, virtual] |
Destructor.
virtual void shade | ( | Stroke & | ioStroke | ) | const [virtual] |
The shading method
Reimplemented from StrokeShader.