checkin from browser
authorClaus Gittinger <cg@exept.de>
Thu, 24 Apr 1997 22:24:57 +0200
changeset 566 f3cbbba715d9
parent 565 03b84a590f49
child 567 31f4276f2ede
checkin from browser
PCXReader.st
--- a/PCXReader.st	Thu Apr 24 22:10:34 1997 +0200
+++ b/PCXReader.st	Thu Apr 24 22:24:57 1997 +0200
@@ -156,20 +156,20 @@
       mapSize|
 
     "/ typedef struct {                         /*header for PCX bitmap files*/
-    "/    unsigned char       signature;          /*PCX file identifier*/
-    "/    unsigned char       version;            /*version compatibility level*/
-    "/    unsigned char       encoding;           /*encoding method*/
-    "/    unsigned char       bitsperpix;         /*bits per pixel, or depth*/
-    "/    unsigned short      Xleft;              /*X position of left edge*/
-    "/    unsigned short      Ytop;               /*Y position of top edge*/
-    "/    unsigned short      Xright;             /*X position of right edge*/
-    "/    unsigned short      Ybottom;            /*Y position of bottom edge*/
-    "/    unsigned short      Xscreensize;        /*X screen res of source image*/
-    "/    unsigned short      Yscreensize;        /*Y screen res of source image*/
-    "/    unsigned char       PCXpalette[16][3];  /*PCX color map*/
-    "/    unsigned char       reserved1;          /*should be 0, 1 if std res fax*/
-    "/    unsigned char       planes;             /*bit planes in image*/
-    "/    unsigned short      linesize;           /*byte delta between scanlines */
+    "/    unsigned char       signature;          /*1 PCX file identifier*/
+    "/    unsigned char       version;            /*2 version compatibility level*/
+    "/    unsigned char       encoding;           /*3 encoding method*/
+    "/    unsigned char       bitsperpix;         /*4 bits per pixel, or depth*/
+    "/    unsigned short      Xleft;              /*5 X position of left edge*/
+    "/    unsigned short      Ytop;               /*7 Y position of top edge*/
+    "/    unsigned short      Xright;             /*9 X position of right edge*/
+    "/    unsigned short      Ybottom;            /*11 Y position of bottom edge*/
+    "/    unsigned short      Xscreensize;        /*13 X screen res of source image*/
+    "/    unsigned short      Yscreensize;        /*15 Y screen res of source image*/
+    "/    unsigned char       PCXpalette[16][3];  /*17 PCX color map*/
+    "/    unsigned char       reserved1;          /*17+48 should be 0, 1 if std res fax*/
+    "/    unsigned char       planes;             /*66 bit planes in image*/
+    "/    unsigned short      linesize;           /*67 byte delta between scanlines */
     "/    unsigned short      paletteinfo;            /*0 == undef
     "/                                                  1 == color
     "/                                                  2 == grayscale*/
@@ -357,12 +357,12 @@
      i inspect.
     "
 
-    "Modified: 24.4.1997 / 19:38:52 / cg"
+    "Modified: 24.4.1997 / 22:15:18 / cg"
 ! !
 
 !PCXReader class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/PCXReader.st,v 1.21 1997-04-24 17:47:57 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/PCXReader.st,v 1.22 1997-04-24 20:24:57 cg Exp $'
 ! !
 PCXReader initialize!