Window and screen coordinates
- From: Oisin Boydell <Oisin Boydell Sun COM>
- To: gnome-accessibility-list gnome org
- Subject: Window and screen coordinates
- Date: Wed, 23 May 2001 17:58:21 +0100 (BST)
In functions such as atk_text_get_character_extents() that return position
coordinates, how about adding another parameter which can be an enumeration
specifying whether the returned coordinates are relative to the window or to the
screen? The parameter could be either SCREEN or WINDOW.
This would clear up any ambiguity concerning what coordinates the function is
returning and remove the need to have two functions such as in AtkComponent with
atk_component_get_position() and atk_component_get_position_on_screen().
Any comments?
******************************************************
Oisin Boydell
Sun Microsystems Ireland
Phone: +353 (0)1 8199778
Mobile: +353 (0)86 3045117
******************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]