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 1.2 by greg, Thu Mar 1 18:13:36 1990 UTC

# Line 28 | Line 28 | extern Pixmap  make_rpixmap();
28  
29   extern XRASTER  *make_raster();
30  
31 < #define put_raster(d,xdst,ydst,xr) \
32 <                patch_raster(d,0,0,xdst,ydst, \
31 > #define put_raster(d,xdst,ydst,xr) patch_raster(d,0,0,xdst,ydst, \
32                                  (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