🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #6761

Re: problem with regions

#6761
From: Paul DuBois
Date: Mon, 11 Aug 1986 22:03
21 lines
1284 bytes
> 
> DragGreyRegion will change the region dragged.  This is now documented in
> the AW version of IM.  It isn't documented how it changes it, it currently
> changes it into the frame of the region (an operation on a region that is
> impossible to do in any other way but isn't really very useful).

Why is this impossible?  Why wouldn't

	r = the region to turn into a frame
	r2 = NewRgn ();
	CopyRgn (r, r2);
	InsetRgn (r2, 1, 1);
	DiffRgn (r, r2, r2);

work?
-- 
Paul DuBois     UUCP: {allegra,ihnp4,seismo}!uwvax!uwmacc!dubois    |
                ARPA: dubois@easter                               --+--
                                                                    |
Begin at my sanctuary...                                            |
                          Ezekiel 9:6
Technical Details
Message-ID: <147@uwmacc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!uwmacc!dubois
References: <1434@oddjob.UUCP> <26700063@inmet>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!uwmacc!dubois
From: dubois@uwmacc.UUCP (Paul DuBois)
Newsgroups: net.micro.mac
Subject: Re: problem with regions
Message-ID: <147@uwmacc.UUCP>
Date: Mon, 11-Aug-86 18:03:29 EDT
Article-I.D.: uwmacc.147
Posted: Mon Aug 11 18:03:29 1986
Date-Received: Tue, 12-Aug-86 17:15:38 EDT
References: <1434@oddjob.UUCP> <26700063@inmet>
Organization: UW-Madison Primate Center
Lines: 21