ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ra_ps.c
(Generate patch)

Comparing ray/src/px/ra_ps.c (file contents):
Revision 2.2 by greg, Mon Jul 13 09:53:14 1992 UTC vs.
Revision 2.3 by greg, Mon Jul 13 10:53:42 1992 UTC

# Line 123 | Line 123 | char  *name;
123          printf("%%%%EndComments\n");
124          printf("gsave\n");
125          printf("64 dict begin\n");
126 +                                        /* define image reader */
127 +        PSprocdef("read6bit");
128                                          /* set up transformation matrix */
129          printf("%f %f translate\n", HMARGIN, VMARGIN);
130          if (PWIDTH > PHEIGHT ^ landscape) {
# Line 143 | Line 145 | char  *name;
145          }
146          printf("%f %f translate\n", (pwidth-iwidth)*.5, (pheight-iheight)*.5);
147          printf("%f %f scale\n", iwidth, iheight);
146        PSprocdef("read6bit");
148          printf("%%%%EndProlog\n");
149 +                                        /* start image procedure */
150          printf("%d %d 8 [%d 0 0 %d 0 %d] {read6bit} image", xmax, ymax,
151                          xmax, -ymax, ymax);
152   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines