You are on page 1of 2

unit Unit1;

interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,
Forms,
Dialogs, StdCtrls, Buttons;
type
TForm1 = class(TForm)
BitBtn1: TBitBtn;
procedure FormPaint(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.FormPaint(Sender: TObject);
begin
with canvas do
begin
canvas.pen.Color:=clblue;
canvas.Pen.Style:=pssolid;
moveto(100,100);
lineto(200,100);
lineto(200,200);
lineto(165,200);
lineto(220,300);
lineto(170,300);
lineto(130,200);
lineto(130,300);
lineto(100,300);
lineto(100,100);
moveto(130,130);
lineto(130,175);
lineto(175,175);
lineto(175,130);
lineto(130,130);
moveto(250,100);
lineto(375,100);
lineto(375,150);
lineto(300,150);
lineto(300,250);

lineto(375,250);
lineto(375,300);
lineto(250,300);
lineto(250,100);
moveto(400,100);
lineto(525,100);
lineto(525,150);
lineto(450,150);
lineto(450,250);
lineto(525,250);
lineto(525,300);
lineto(400,300);
lineto(400,100);
end;
end;
end.

You might also like