Sign in Join
FPDoc Onlineexperiment

TBezier type

In unit GraphMath

Array type used to store the coordinates for Bezier control points as floating point values.

Declaration

pascal
TBezier = Array[0..3] of TFloatPoint = record
 X: Extended;
 Y: Extended;
end

Description

TBezier allows up to 4 coordinates to be specified which represent the control points for the parametric curve. Each coordinate is implemented using the TFloatPoint type, and stored as elements in the array.

TBezier is the type returned by the Bezier function. The type is passed as an argument to routines like: Arc2Bezier, Bezier2Polyline, BezierMidPoint, and SplitBezier.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.