VFPressureRecord Struct Reference

Stores Pressure-sensitive pen values (as used for variable-width strokes) and allows the caller to retrieve values from such recorded information. More...

#include <valfunc.h>

List of all members.

Public Attributes

float Position
float Pressure


Detailed Description

Stores Pressure-sensitive pen values (as used for variable-width strokes) and allows the caller to retrieve values from such recorded information.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/1/97
ValueFunctionPressure linearly interpolates all pressure samples, while ValueFunctionPressureS interpolates with an S-shaped curve. (This latter one is used for smoothed pressure information, and have a vastly reduced storage footprint. See Also kernel.cpp for the smoothing code)

See also:
tools.cpp (freehand tool pressure recording)

Definition at line 846 of file valfunc.h.


Member Data Documentation

float VFPressureRecord::Position
 

Definition at line 848 of file valfunc.h.

float VFPressureRecord::Pressure
 

Definition at line 849 of file valfunc.h.


The documentation for this struct was generated from the following file:
Generated on Sat Nov 10 04:02:56 2007 for Camelot by  doxygen 1.4.4