8.2 Constants, Types and Variables

Types

 ArcCoordsType = record
  X,Y,Xstart,Ystart,Xend,Yend : Integer;
 end;
 FillPatternType = Array [1..8] of Byte;
 FillSettingsType = Record
  Pattern,Color : Word
 end;
 LineSettingsType = Record
   LineStyle,Pattern, Width : Word;
 end;
 PaletteType = Record
  Size : Byte;
  Colors : array[0..MAxColor] of shortint;
 end;
 PointType = Record
   X,Y : Integer;
 end;
 TextSettingsType = Record
  Font,Direction, CharSize, Horiz, Vert : Word
 end;
 ViewPortType = Record
   X1,Y1,X2,Y2 : Integer;
   Clip : Boolean
 end;