Path: csiph.com!news.mixmin.net!aioe.org!y8bOfQlh/9MWd5a0rrcYUg.user.46.165.242.75.POSTED!not-for-mail From: Christopher Self Newsgroups: comp.sys.acorn.programmer Subject: Re: dragging a text icon by its outline Date: Sun, 14 Aug 2022 18:42:04 +0100 Organization: None Message-ID: <5a17f1b251cself@btinternet.com> References: <5a124fe1d2cself@btinternet.com> Injection-Info: gioia.aioe.org; logging-data="62404"; posting-host="y8bOfQlh/9MWd5a0rrcYUg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Pluto/3.18 (RISC OS/5.29) NewsHound/v1.52-32 X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.sys.acorn.programmer:6416 I've even managed to clip it correctly now: block!8 = minx% - (scrollx% - icminx%) IF scrollx% > icminx% THEN block!8 = minx%+4 block!12 = maxy% - (scrolly% - icminy%) block!16 = minx% - (scrollx% - icmaxx%) IF maxx% + (scrollx% - minx%) < icmaxx% THEN block!16 = maxx%-4 block!20 = maxy% - (scrolly% - icmaxy%) But I still don't understand it... -- Christopher Self