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 <BasicStrokeShaders.h>
Inheritance diagram for ConstantThicknessShader:
Public Member Functions | |
ConstantThicknessShader (float thickness) | |
virtual | ~ConstantThicknessShader () |
virtual string | getName () const |
virtual void | shade (Stroke &stroke) const |
ConstantThicknessShader | ( | float | thickness | ) | [inline] |
Builds the shader.
thickness | The thickness that must be assigned to the stroke. |
virtual ~ConstantThicknessShader | ( | ) | [inline, virtual] |
Destructor.
virtual string getName | ( | ) | const [inline, virtual] |
Returns the string "ConstantThicknessShader".
Reimplemented from StrokeShader.
virtual void shade | ( | Stroke & | stroke | ) | const [virtual] |
The shading method.
Reimplemented from StrokeShader.