Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!cornell!uw-beaver!mit-eddie!ll-xn!ames!amdcad!sun!imagen!auspyr!dlb!dana!rap From: rap@dana.UUCP (Rob Peck) Newsgroups: comp.sys.amiga Subject: Re: Clipping within a window. Message-ID: <186@dana.UUCP> Date: Fri, 26-Jun-87 16:54:18 EDT Article-I.D.: dana.186 Posted: Fri Jun 26 16:54:18 1987 Date-Received: Sun, 28-Jun-87 01:10:33 EDT References: <205@sugar.UUCP> Organization: Dana Computer, Inc., Sunnyvale, CA Lines: 16 Summary: See ya layer... In article <205@sugar.UUCP>, peter@sugar.UUCP (Peter DaSilva) writes: > I want to clip some text (or graphic) output to within the borders of a > simplerefresh window. What's the best way to do this? I know I can use > superbitmap with GZZ, but that's rather overkill for text only output. > That is, I guess, how do I set up a clipping rectangle of my own within a > window? > > -- Peter da Silva (why doesn't VI do SLOWOPEN on vt100s?) Use the layers.library routine to create a layer in your current window. There is an example in the ROM Kernel manual that draws the words "Behind a fence" literally behind a fence. (I wrote that example). You can use layers to position arbitrary clipping rectangles in a window. Rob Peck.