From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21382 invoked by alias); 26 May 2003 01:20:38 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 13611 invoked from network); 26 May 2003 01:16:45 -0000 Received: from unknown (HELO lumo.pacujo.net) (209.77.185.85) by sources.redhat.com with SMTP; 26 May 2003 01:16:45 -0000 Received: (from marko@localhost) by lumo.pacujo.net (8.11.6/8.11.6/SuSE Linux 0.5) id h4Q17rR12103; Sun, 25 May 2003 18:07:53 -0700 To: guile-gtk@sources.redhat.com Subject: Re: gdk-rectangle-new (was: texinfo documentation) References: <87llxd2c59.fsf@zip.com.au> <874r3lmifw.fsf@zip.com.au> <87of1tjjwy.fsf@zip.com.au> <87znldi1wl.fsf@zip.com.au> <87el2mmymo.fsf@zip.com.au> <87of1qlge7.fsf_-_@zip.com.au> From: Marko Rauhamaa Date: Mon, 26 May 2003 01:20:00 -0000 In-Reply-To: <87of1qlge7.fsf_-_@zip.com.au> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q2/txt/msg00115.txt.bz2 Kevin Ryde : > Marko Rauhamaa writes: > > > > ... (cons (cons x y) (cons w h))) > > There's probably some value in a gdk-rectangle-new function, > irrespective of what the underlying representation is. Next you'll be asking for (gdk-rectangle-x rect) (gdk-rectangle-y rect) (gdk-rectangle-width rect) (gdk-rectangle-height rect) ;-) And don't forget that for consistency's sake we'll have to introduce: (gdk-point-new) (gdk-point-x) (gdk-point-y) The "underlying representation" is not opaque; as it stands, the application programmer must deal with it directly. Of course, for clarity you can say: `((,x . ,y) ,w . ,h) Marko -- Marko Rauhamaa mailto:marko@pacujo.net http://pacujo.net/marko/