瀏覽代碼

* fixed palettype declaration (web bug #2547)

Jonas Maebe 22 年之前
父節點
當前提交
c3326c434a
共有 1 個文件被更改,包括 8 次插入3 次删除
  1. 8 3
      docs/graph.tex

+ 8 - 3
docs/graph.tex

@@ -136,9 +136,14 @@ end;
 LineSettingsType = Record
 LineSettingsType = Record
   LineStyle,Pattern, Width : Word;
   LineStyle,Pattern, Width : Word;
 end;
 end;
-PaletteType = Record
- Size : Byte;
- Colors : array[0..MAxColor] of shortint;
+RGBRec = packed record
+  Red: smallint;
+  Green: smallint;
+  Blue : smallint;
+end;
+PaletteType = record
+  Size   : longint;
+  Colors : array[0..MaxColors] of RGBRec;
 end;
 end;
 PointType = Record
 PointType = Record
   X,Y : Integer;
   X,Y : Integer;