unit graph

Types

ArcCoordsType = record
x,y : integer;
xstart,ystart : integer;
xend,yend : integer;
end;


FillPatternType = array[1..8] of byte;


FillSettingsType = record

pattern : word;
color : longint;
end;


LineSettingsType = record

linestyle : word;
pattern : word;
thickness : word;
end;


PaletteType = record

Size : integer;
Colors : array[0..767]of Byte;
end;


PointType = record

x,y : integer;
end;


RGBColor = record

r,g,b,i : byte;
end;


TextSettingsType = record

font : word;
direction : word;
charsize : word;
horiz : word;
vert : word;
end;


ViewPortType = record

x1,y1,x2,y2 : integer;
Clip : boolean;
end;