diff options
author | Sebastian Geerken <devnull@localhost> | 2014-08-09 11:44:22 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-08-09 11:44:22 +0200 |
commit | c042eb7a412bc44c66c9e316a1f85cff3fc01727 (patch) | |
tree | 2e5fb9e08f65a6f66bdc14e61b4c4a7c7a47b071 /dw/outofflowmgr.hh | |
parent | 8ed1dac050a856b58c41553727a3ffd36d64c80c (diff) |
Empty lines are how (in most cases) higher than one pixel.
Diffstat (limited to 'dw/outofflowmgr.hh')
-rw-r--r-- | dw/outofflowmgr.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dw/outofflowmgr.hh b/dw/outofflowmgr.hh index 19205717..a89e8662 100644 --- a/dw/outofflowmgr.hh +++ b/dw/outofflowmgr.hh @@ -316,6 +316,9 @@ private: bool hasFloat (Textblock *textblock, Side side, int y, int h, Textblock *lastGB, int lastExtIndex); + int getFloatHeight (Textblock *textblock, Side side, int y, int h, + Textblock *lastGB, int lastExtIndex); + int getClearPosition (Textblock *tb, Side side); void ensureFloatSize (Float *vloat); @@ -426,6 +429,11 @@ public: bool hasFloatRight (Textblock *textblock, int y, int h, Textblock *lastGB, int lastExtIndex); + int getLeftFloatHeight (Textblock *textblock, int y, int h, + Textblock *lastGB, int lastExtIndex); + int getRightFloatHeight (Textblock *textblock, int y, int h, + Textblock *lastGB, int lastExtIndex); + int getClearPosition (Textblock *tb); inline static bool isRefOutOfFlow (int ref) |