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 BezierCurveShader:
Public Member Functions | |
BezierCurveShader (float error=4.0) | |
virtual void | shade (Stroke &stroke) const |
BezierCurveShader | ( | float | error = 4.0 |
) | [inline] |
Builds the shader.
error | The error we're allowing for the approximation. This error is the max distance allowed between the new curve and the original geometry. |
virtual void shade | ( | Stroke & | stroke | ) | const [virtual] |
The shading method
Reimplemented from StrokeShader.