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

IncreasingThicknessShader Class Reference

#include <BasicStrokeShaders.h>

Inheritance diagram for IncreasingThicknessShader:

StrokeShader List of all members.

Detailed Description

[ Thickness Shader ]. Assigns thicknesses values such as the thickness increases from a thickness value A to a thickness value B between the first vertex to the midpoint vertex and then decreases from B to a A between this midpoint vertex and the last vertex. The thickness is linearly interpolated from A to B.

Public Member Functions

 IncreasingThicknessShader (float iThicknessMin, float iThicknessMax)
virtual ~IncreasingThicknessShader ()
virtual void shade (Stroke &stroke) const

Constructor & Destructor Documentation

IncreasingThicknessShader float  iThicknessMin,
float  iThicknessMax

Builds the shader.

iThicknessMin The first thickness value.
iThicknessMax The second thickness value.

virtual ~IncreasingThicknessShader  )  [inline, virtual]


Member Function Documentation

virtual void shade Stroke stroke  )  const [virtual]

The shading method.

Reimplemented from StrokeShader.

The documentation for this class was generated from the following file: