Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Rod Pemberton Newsgroups: comp.lang.forth Subject: Re: Yet another draw of rectangle Date: Sun, 20 Nov 2016 07:48:40 -0500 Organization: Aioe.org NNTP Server Lines: 29 Message-ID: <20161120074840.36eeb0cb@_> References: <87bmxadcl7.fsf@nightsong.com> <877f7ycxvr.fsf@nightsong.com> <91952755-985c-4274-8498-2e150140ea6f@googlegroups.com> <8737imcv8c.fsf@nightsong.com> NNTP-Posting-Host: n4wpt9zq8xR26Ttf9mo2BA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Claws Mail 3.13.1 (GTK+ 2.24.13; x86_64-unknown-linux-gnu) Xref: csiph.com comp.lang.forth:52760 On Sun, 20 Nov 2016 02:16:03 -0800 Paul Rubin wrote: > humptydumpty writes: > > First ( x0y1 x1y0 ) LINE draws a diagonal, not an edge ... > > The output I get from "test" is > > test 1 10 > 1 11 > 0 11 > 0 10 > ok > > which corresponds to: > > x1y0 LINE x1y1 LINE x0y1 LINE x0y0 LINE > > I assumed x0y0 was the starting point. Since only one coordinate > changes before each LINE, they are all edges and not diagonals, > unless I missed something. Humpty's LINE seems to be consuming 2 x-y pairs per LINE. Unless I'm mistaken, your LINE seems to be consuming 1 x-y pair per LINE. Rod Pemberton