Distributing elements
From TaskDepender
(→Design) |
(→Design) |
||
Line 41: | Line 41: | ||
Since the algorithm assumes elements that the elements are ordered by position of the left edges, this additional step must be performed before running the described algorithm. | Since the algorithm assumes elements that the elements are ordered by position of the left edges, this additional step must be performed before running the described algorithm. | ||
− | The same algorithm can be used for distributing the elements vertically | + | The same algorithm can be used for distributing the elements vertically, in which case the equations are: |
<math>y_i = s_{i-1} + h_{i-1} + S</math> | <math>y_i = s_{i-1} + h_{i-1} + S</math> |