]> git.decadent.org.uk Git - ion3-doc.git/blob - miscref.tex
[svn-upgrade] Integrating new upstream version, ion3-doc (20080103)
[ion3-doc.git] / miscref.tex
1
2 \subsection{Size policies}
3 \label{sec:sizepolicies}
4
5 Some functions accept a \var{sizepolicy} parameter. The possible
6 values are: 
7
8 \begin{flushleft}
9 \codestr{default},
10 \codestr{full},
11 \codestr{full\_bounds},
12 \codestr{free},
13 \codestr{free\_glue},
14 \codestr{northwest},
15 \codestr{north},
16 \codestr{northeast},
17 \codestr{west},
18 \codestr{center},
19 \codestr{east},
20 \codestr{southwest},
21 \codestr{south},
22 \codestr{southeast},
23 \codestr{stretch\_top},
24 \codestr{stretch\_bottom},
25 \codestr{stretch\_left},
26 \codestr{stretch\_right},
27 \codestr{free\_glue\_northwest},
28 \codestr{free\_glue\_north},
29 \codestr{free\_glue\_northeast},
30 \codestr{free\_glue\_west},
31 \codestr{free\_glue\_center},
32 \codestr{free\_glue\_east},
33 \codestr{free\_glue\_southwest},
34 \codestr{free\_glue\_south}, and
35 \codestr{free\_glue\_southeast}.
36 \end{flushleft}
37
38 The ``free'' policies allow the managed
39 object to be moved around, whereas the other versions do not. 
40 The ``glue'' policies glue the object to some border, while allowing
41 it to be moved away from it by user action, but not automatically.
42 The ``stretch'' policies stretch the object along the given border,
43 while the coordinate-based policies simply place the object along 
44 that border.