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

Comparing ray/src/px/x11raster.h (file contents):
Revision 1.1 by greg, Thu Mar 1 13:18:25 1990 UTC vs.
Revision 2.2 by greg, Sat Feb 22 02:07:28 2003 UTC

# Line 1 | Line 1
1 < /* Copyright 1990 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid: $Id$ */
2   /*
3   * x11raster.h - header file for X routines using images.
4   *
# Line 22 | Line 19 | typedef struct {
19          Pixmap  pm;                             /* storage on server side */
20   }       XRASTER;
21  
22 + extern Colormap newcmap();
23 +
24   extern unsigned long    *map_rcolors();
25  
26   extern Pixmap   make_rpixmap();
27  
28   extern XRASTER  *make_raster();
29  
30 < #define put_raster(d,xdst,ydst,xr) \
32 <                patch_raster(d,0,0,xdst,ydst, \
30 > #define put_raster(d,xdst,ydst,xr) patch_raster(d,0,0,xdst,ydst, \
31                                  (xr)->image->width,(xr)->image->height,xr)
34
35 #define patch_raster(d,xsrc,ysrc,xdst,ydst,width,height,xr) \
36                (((xr)->pm == 0) \
37                ? XPutImage((xr)->disp,d,(xr)->gc,(xr)->image,xsrc,ysrc, \
38                                xdst,ydst,width,height) \
39                : XCopyArea((xr)->disp,(xr)->pm,d,(xr)->gc,xsrc,ysrc, \
40                                width,height,xdst,ydst))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines