[Overview][Types][Procedures and functions][Index] |
Bezier2Polyline - convert a 4-Point Bezier into a Pointer Array of TPoint and a Count variable.
Source position: graphmath.pp line 55
procedure Bezier2Polyline( |
const Bezier: TBezier; |
var Points: PPoint; |
var Count: LongInt |
); |
Use BezierToPolyline to convert a 4-Point Bezier into a Pointer Array of TPoint and a Count variable which can then be used within either a Polyline, or Polygon routine. It is primarily for use within PolyBezier2Polyline.
If Points is not initialized or Count is less then 0, it is set to nil and the array starts at 0, otherwise it tries to append points to the array starting at Count. Points should ALWAYS be Freed when done by calling to ReallocMem(Points, 0) or FreeMem.
Version 4.0 | Generated 2025-05-03 | Home |