Programmas kods
unit BezierUnit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Grids, StdCtrls, ComCtrls;
type
TForm1 = class(TForm)
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Edit4: TEdit;
Edit5: TEdit;
Edit6: TEdit;
ButtonDraw: TButton;
StringGrid1: TStringGrid;
TrackBar1: TTrackBar;
PaintBox1: TPaintBox;
Label1: TLabel;
Edit7: TEdit;
Edit8: TEdit;
procedure FormCreate(Sender: TObject);
procedure SaveTable(i:integer;t:Real;X,Y:integer);
procedure DrawB(N,X1,Y1,X2,Y2,X3,Y3,X4,Y4: integer);
procedure ButtonDrawClick(Sender: TObject);
procedure TrackBar1Change(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
…