Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!nrl-cmf!ukma!gatech!udel!rochester!pt.cs.cmu.edu!andrew.cmu.edu!sg1q+ From: sg1q+@andrew.cmu.edu (Simon Peter Gatrall) Newsgroups: comp.windows.news Subject: NeWS Message-ID: Date: 21 Jul 88 21:16:58 GMT References: <30389@philabs.Philips.Com>, <4867@hoptoad.uucp> Organization: Carnegie Mellon Lines: 18 In-Reply-To: <4867@hoptoad.uucp> In reply to some talk about reading bitmaps from PS printers, John Gilmore (gnu@hoptoad.uucp) wrote about new PS features that will be available in NeWS >The three primitives in NeWS that Sam might have been talking about are >copyarea, writecanvas, and writescreen. Copyarea copies the region >outlined by the current path, to a position (deltax, deltay) from >its current position. Writecanvas writes the current canvas to a >file. Writescreen writes the current canvas to a file, including >bits from canvases that lie on top of the current canvas (e.g. a >screendump). There's also a readcanvas which reads in a rasterfile, >and an imagecanvas which images the bits from one canvas onto another. I'm very curious if copyarea will provide for mode of copying, ie xor, bic, etc. This would make it easy to achieve all kinds of neat effects that would be a pain to do now. The only problem with all of this bitmap stuff is that it starts to reduce the portability of the code. Oh well! -Simon Gatrall sg1q+@andrew.cmu.edu