diff options
author | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 20:39:13 +0000 |
---|---|---|
committer | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 20:39:13 +0000 |
commit | b2f1a4e879d3013974e41674dbf684d816f1aa95 (patch) | |
tree | 08292d39f5b0592c01946a2a754a93329ef599d3 /z15.c | |
parent | 7d292f1247e3287fb07a9a12377217ce8942cf09 (diff) | |
download | lout-b2f1a4e879d3013974e41674dbf684d816f1aa95.tar.gz |
Lout 3.30.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@29 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'z15.c')
-rw-r--r-- | z15.c | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -1,7 +1,7 @@ /*@z15.c:Size Constraints:MinConstraint(), EnlargeToConstraint()@*************/ /* */ -/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.29) */ -/* COPYRIGHT (C) 1991, 2003 Jeffrey H. Kingston */ +/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.30) */ +/* COPYRIGHT (C) 1991, 2004 Jeffrey H. Kingston */ /* */ /* Jeffrey H. Kingston (jeff@it.usyd.edu.au) */ /* School of Information Technologies */ @@ -502,6 +502,19 @@ void Constrained(OBJECT x, CONSTRAINT *xc, int dim, OBJECT *why) break; + case HMIRROR: + case VMIRROR: + + if( (dim == COLM) == (type(y) == HMIRROR) ) + { + Constrained(y, &yc, dim, why); + FlipConstraint(*xc, yc); + } + else + Constrained(y, xc, dim, why); + break; + + case HSCALE: case VSCALE: @@ -812,6 +825,8 @@ void DebugConstrained(OBJECT x) case VLIMITED: case HEXPAND: case VEXPAND: + case HMIRROR: + case VMIRROR: case HSCALE: case VSCALE: case HCOVER: |