nanogui: Thread: Absolute position and relative position!


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Absolute position and relative position!
From: "wang" ####@####.####
Date: 31 Jul 2002 07:58:20 -0000
Message-Id:

   Many times we call an fuction with 
window position x, y. but I'm not sure 
in which fuctions we use absolute position
and in which fuctions we use relative
position.
   Does it mean all the Gr*** fuctions 
use relative position and Gs*** ,Gd*** 
fuctions use absolute position? 
  				

        wang
####@####.####
          2002-07-31



Subject: Re: [nanogui] Absolute position and relative position!
From: Alex Holden ####@####.####
Date: 31 Jul 2002 08:50:11 -0000
Message-Id: <3D47A184.3070105@linuxhacker.org>

wang wrote:

>   Many times we call an fuction with 
>window position x, y. but I'm not sure 
>in which fuctions we use absolute position
>and in which fuctions we use relative
>position.
>   Does it mean all the Gr*** fuctions 
>use relative position and Gs*** ,Gd*** 
>fuctions use absolute position? 
>  
>

Most but not all of the Gr functions take coordinates relative to the
window referred to in the call. All of the Gd functions take absolute
coordinates because the engine layer doesn't know about windows. The Gs
functions vary depending on which is more appropriate to whatever the
function does.


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.