31.05.2013 Views

think-cell technical report TC2003/01 A GUI-based Interaction ...

think-cell technical report TC2003/01 A GUI-based Interaction ...

think-cell technical report TC2003/01 A GUI-based Interaction ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.1 A New Approach to Slide Layout INTERACTION CONCEPT<br />

h1<br />

h2<br />

h3<br />

h4<br />

h5<br />

h6<br />

h7<br />

v1 v2 v3<br />

h: horizontal gridline<br />

v: vertical gridline<br />

s: shape<br />

v4<br />

v5 v6 v7<br />

s17<br />

s18<br />

v8<br />

v9 v10<br />

(a) Shapes and gridlines as seen by the user (life screenshot from my prototype with additional<br />

annotations)<br />

...<br />

v5 - v4 = v6 - v5<br />

v5 - v4 = v7 - v6<br />

v4 - v3 = v8 - v7<br />

v3 - v1 = v10 - v8<br />

...<br />

v9 - v2 ≥ minWidth(s17)<br />

v9 - v2 ≥ minWidth(s18)<br />

v4 ≥ v2<br />

v9 ≥ v7<br />

minimize( v9 - v2 )<br />

...<br />

v4 - v3 > minGap<br />

v8 - v7 > minGap<br />

min(v) - leftBorder = rightBorder - max(v)<br />

...<br />

h5 - h4 > minGap<br />

h2 - h1 = fixed<br />

min(h) - topBorder ≥ titleHeight<br />

...<br />

(b) A system of constraints as it is sent to the solver<br />

Figure 13: The layout of a slide can be determined by solving a constraint system<br />

for relations between gridlines.<br />

37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!