home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l043 / 3.ddi / SETLNSTY.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1987-11-02  |  417 b   |  21 lines

  1. uses
  2.   Graph;
  3. var
  4.   Gd, Gm : integer;
  5.   x1, y1, x2, y2 : integer;
  6. begin
  7.   Gd := Detect;
  8.   InitGraph(Gd, Gm, '');
  9.   if GraphResult <> grOk then
  10.     Halt(1);
  11.   x1 := 10;
  12.   y1 := 10;
  13.   x2 := 200;
  14.   y2 := 150;
  15.   SetLineStyle(DottedLn,0,NormWidth);
  16.   Rectangle(x1, y1, x2, y2);
  17.   SetLineStyle(UserBitLn,$C3,ThickWidth);
  18.   Rectangle(Pred(x1), Pred(y1), Succ(x2), Succ(y2));
  19.   Readln;
  20.   CloseGraph;
  21. end.