From 1b9487304a4757478aa923174272dd4062af9735 Mon Sep 17 00:00:00 2001 From: Matt Dew Date: Wed, 13 Jul 2011 12:32:49 -0600 Subject: Add some links for quick referencing definitions. Signed-off-by: Matt Dew Reviewed-by: Alan Coopersmith Acked-by: Gaetan Nadon --- specs/shapelib.xml | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/specs/shapelib.xml b/specs/shapelib.xml index a357da4..7fb108c 100644 --- a/specs/shapelib.xml +++ b/specs/shapelib.xml @@ -94,8 +94,10 @@ window manager. Each window (even with no shapes specified) is defined by two regions: the -bounding region and the -clip region. The bounding region is the +bounding region +and the +clip region. +The bounding region is the area of the parent window that the window will occupy (including border). The clip region is the subset of the bounding region that is available for subwindows and graphics. The area between the bounding region and the @@ -107,8 +109,10 @@ A nonshaped window will have a bounding region that is a rectangle spanning the window, including its border; the clip region will be a rectangle filling the inside dimensions (not including the border). In this document, these areas are referred to as the -default bounding region and the -default clip region. For a window with + +default bounding region and the + +default clip region. For a window with inside size of width by height and border width bwidth, the default bounding and clip @@ -131,8 +135,10 @@ clip.height = height This extension allows a client to modify either or both of the bounding or clip regions by specifying new regions that combine with the default regions. These new regions are called the -client bounding region and the -client clip region. They are specified + +client bounding region and the + +client clip region. They are specified relative to the origin of the window and are always defined by offsets relative to the window origin (that is, region adjustments are not required when the window is moved). Three mechanisms for specifying @@ -149,7 +155,8 @@ default region is used instead. -The effective bounding region of a window is +The +effective bounding region of a window is defined to be the intersection of the client bounding region with the default bounding region. Any portion of the client bounding region that is not included in the default bounding region will not be included in the @@ -167,7 +174,8 @@ be enlarged to include more of the client bounding region. -The effective clip region of a window is +The +effective clip region of a window is defined to be the intersection of the client clip region with both the default clip region and the client bounding region. Any portion of the client clip region that is not included in both the default clip region @@ -214,11 +222,12 @@ as for events that occur in a normal rectangular border. An -InputOnly + +InputOnly window can have its bounding region set, but it is a -Match +Match error to attempt to set a clip region on an -InputOnly +InputOnly window or to specify its clip region as a source to a request in this extension. -- cgit v1.2.1