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

ConstrainedIncreasingThicknessShader Class Reference

#include <BasicStrokeShaders.h>

Inheritance diagram for ConstrainedIncreasingThicknessShader:

StrokeShader List of all members.

Detailed Description

[ Thickness shader ]. Same as previous but here we allow the user to control the ratio thickness/length so that we don't get fat short lines


Public Member Functions

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

Constructor & Destructor Documentation

ConstrainedIncreasingThicknessShader (  float  iThicknessMin,
float  iThicknessMax,
float  iRatio
)  [inline]
 

Builds the shader.

Parameters:
iThicknessMin The first thickness value.
iThicknessMax The second thickness value.
iRatio The ration thickness/length we don't want to exceed.

virtual ~ConstrainedIncreasingThicknessShader (   )  [inline, virtual]
 

Destructor.


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: