valfunc.h File Reference

(r1785/r1282)

Go to the source code of this file.

Classes

class  ValueFunction
 Abstract Base class Provides an interface by which the caller can obtain the value of a given function at a given "position". More...
class  ValueFunctionConstant
 Provides an interface by which the caller can obtain the value of a given function at a given "position". More...
class  ValueFunctionRandom
class  ValueFunctionRamp
 Provides an interface by which the caller can obtain the value of a given function at a given "position". More...
class  ValueFunctionRampLinear
class  ValueFunctionRampS
class  ValueFunctionRampS2
class  ValueFunctionRampL
class  ValueFunctionRampL2
class  ValueFunctionSawTooth
class  ValueFunctionPropeller
class  ValueFunctionDoubleRampS
class  ValueFunctionBevelEnds
class  ValueFunctionIntestine
class  ValueFunctionDecay
class  ValueFunctionBlip
 Provides an interface by which the caller can obtain the value of a given function at a given "position". More...
class  ValueFunctionTeardrop
 Provides an interface by which the caller can obtain the value of a given function at a given "position". More...
class  ValueFunctionTeardropCurvedEnd
 Provides an interface by which the caller can obtain the value of a given function at a given "position". More...
class  ValueFunctionEllipse
 Provides an interface by which the caller can obtain the value of a given function at a given "position". More...
class  ValueFunctionThumbtack
 Provides an interface by which the caller can obtain the value of a given function at a given "position". More...
struct  VFPressureRecord
 Stores Pressure-sensitive pen values (as used for variable-width strokes) and allows the caller to retrieve values from such recorded information. More...
class  ValueFunctionPressure
class  ValueFunctionPressureS
class  ValueFunctionSmoothStroke
 Provides an interface by which the caller can obtain the value of a given function at a given "position". More...
class  ValueFunctionSS_Yacht
class  ValueFunctionSS_Iron
class  ValueFunctionSS_Reed
class  ValueFunctionSS_Meteor
class  ValueFunctionSS_Petal
class  ValueFunctionSS_Comet
class  ValueFunctionSS_Fallout
class  ValueFunctionSS_Torpedo
class  ValueFunctionSS_Missile
class  ValueFunctionSS_Convex
class  ValueFunctionSS_Concave
class  ValueFunctionSS_Cigar
class  ValueFunctionSS_Cigar2
class  ValueFunctionSS_Cigar3
class  ValueFunctionSS_SlimBlip
class  ValueFunctionSS_OceanLiner
class  ValueFunctionSS_Goldfish
class  ValueFunctionSS_Barb

Enumerations

enum  ValueFunctionID {
  ValueFunctionID_None = 0, ValueFunctionID_Constant, ValueFunctionID_Random, ValueFunctionID_RampLinear,
  ValueFunctionID_RampS, ValueFunctionID_Pressure, ValueFunctionID_PressureS, ValueFunctionID_Teardrop,
  ValueFunctionID_Ellipse, ValueFunctionID_Blip, ValueFunctionID_Thumbtack, ValueFunctionID_RampL,
  ValueFunctionID_RampL2, ValueFunctionID_RampS2, ValueFunctionID_TeardropCurvedEnd, ValueFunctionID_SawTooth,
  ValueFunctionID_Propeller, ValueFunctionID_DoubleRampS, ValueFunctionID_Intestine, ValueFunctionID_Decay,
  ValueFunctionID_BevelEnds, ValueFunctionID_SS_Reed, ValueFunctionID_SS_Meteor, ValueFunctionID_SS_Petal,
  ValueFunctionID_SS_Comet, ValueFunctionID_SS_Barb, ValueFunctionID_SS_Concave, ValueFunctionID_SS_Convex,
  ValueFunctionID_SS_Iron, ValueFunctionID_SS_Torpedo, ValueFunctionID_SS_Missile, ValueFunctionID_SS_Goldfish,
  ValueFunctionID_SS_OceanLiner, ValueFunctionID_SS_Yacht, ValueFunctionID_SS_SlimBlip, ValueFunctionID_SS_Cigar,
  ValueFunctionID_SS_Cigar2, ValueFunctionID_SS_Cigar3, ValueFunctionID_SS_Fallout
}

Variables

const INT32 NumRandomValues = 512
 Provides an interface by which the caller can obtain the value of a given function at a given "position".


Enumeration Type Documentation

enum ValueFunctionID
 

Enumerator:
ValueFunctionID_None 
ValueFunctionID_Constant 
ValueFunctionID_Random 
ValueFunctionID_RampLinear 
ValueFunctionID_RampS 
ValueFunctionID_Pressure 
ValueFunctionID_PressureS 
ValueFunctionID_Teardrop 
ValueFunctionID_Ellipse 
ValueFunctionID_Blip 
ValueFunctionID_Thumbtack 
ValueFunctionID_RampL 
ValueFunctionID_RampL2 
ValueFunctionID_RampS2 
ValueFunctionID_TeardropCurvedEnd 
ValueFunctionID_SawTooth 
ValueFunctionID_Propeller 
ValueFunctionID_DoubleRampS 
ValueFunctionID_Intestine 
ValueFunctionID_Decay 
ValueFunctionID_BevelEnds 
ValueFunctionID_SS_Reed 
ValueFunctionID_SS_Meteor 
ValueFunctionID_SS_Petal 
ValueFunctionID_SS_Comet 
ValueFunctionID_SS_Barb 
ValueFunctionID_SS_Concave 
ValueFunctionID_SS_Convex 
ValueFunctionID_SS_Iron 
ValueFunctionID_SS_Torpedo 
ValueFunctionID_SS_Missile 
ValueFunctionID_SS_Goldfish 
ValueFunctionID_SS_OceanLiner 
ValueFunctionID_SS_Yacht 
ValueFunctionID_SS_SlimBlip 
ValueFunctionID_SS_Cigar 
ValueFunctionID_SS_Cigar2 
ValueFunctionID_SS_Cigar3 
ValueFunctionID_SS_Fallout 

Definition at line 116 of file valfunc.h.


Variable Documentation

const INT32 NumRandomValues = 512
 

Provides an interface by which the caller can obtain the value of a given function at a given "position".

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
30/12/96
This derived class simply returns a "Random" value. Actually, the random value is seeded from the Position plus the seed passed to the constructor, so the same position will always give the same value.

Notes: This class actually generates 512 random numbers, and returns samples from that array. This is so that when used for path stroking, it is possible to limit the flattening of the generated curve - with truly random results, you can never know when you have flattened enough!

Definition at line 316 of file valfunc.h.


Generated on Sat Nov 10 03:49:22 2007 for Camelot by  doxygen 1.4.4