Annotation of 43BSD/contrib/X/libqvss/ddxcopy.c, revision 1.1.1.1

1.1       root        1: /* copy.c      Copy one section of the framebuffer to another
                      2:  *
                      3:  *     CopyArea        Copies a section of the framebuffer
                      4:  *
                      5:  *     Modification History
                      6:  *
                      7:  *     Carver 8510.25 Removed error checking in calls to copyrmsk
                      8:  *                    and copybmsk.  No errors are ever return.
                      9:  */
                     10: 
                     11: #include "ddxqvss.h"
                     12: #include "qvss.h"
                     13: #include "vstagbl.h"
                     14: 
                     15: extern BITMAP pbm;
                     16: 
                     17: CopyArea (srcx, srcy, width, height, dstx, dsty, clips, clipcount, func, zmask)
                     18:        int srcx, srcy, width, height, dstx, dsty, clipcount, zmask;
                     19:        int func;
                     20:        CLIP *clips;
                     21: {
                     22:        register short *saddr = (short *) pbm.data;
                     23:        register int w = pbm.width;
                     24:        register int h = pbm.height;
                     25: 
                     26:        if (!(zmask & 1)) return;
                     27: 
                     28:        copyrmsk(VSTA$K_SRC_BITMAP, saddr, w, h,
                     29:                srcx, srcy, width, height,
                     30:                saddr, w, h,
                     31:                dstx, dsty, func, clipcount, clips);
                     32: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.