Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!mcnc!ecsgate!ecsvax!tcamp From: tcamp@uncecs.edu (Ted A. Campbell) Newsgroups: comp.sys.3b1 Subject: calculation of srcwidth and dstwidth for wrastop() Message-ID: <1991Apr19.133128.22408@uncecs.edu> Date: 19 Apr 91 13:31:28 GMT Organization: UNC Educational Computing Service Lines: 18 I am writing an application utilizing tam() and wrastop() routines for graphics output. The work has gone well, except that at certain points I need to save screen images to memory, and blit images from memory to the display, etc. The wrastop() routines allow this, but the calculation of the srcwidth and dstwidth parameters remains a great mystery to me. Why, if the rectangle width is specified later, do these parameters need to be given. I have tried several methods of calculation: none seems to work all of the time. If anyone has had experience in the mysteries of wrastop() and can open this mystery to me, I shall be most appreciative. Thanks very much. Ted A. Campbell tcamp@uncecs.edu