]> git.lyx.org Git - features.git/commit
Fix borders of InsetMathGrid
authorGuillaume Munch <gm@lyx.org>
Thu, 29 Sep 2016 18:20:33 +0000 (20:20 +0200)
committerGuillaume Munch <gm@lyx.org>
Wed, 5 Oct 2016 23:11:49 +0000 (01:11 +0200)
commit324e5571cafe7838a1d3ecd5cb2b3dd7e8d54bbe
tree60f4c02d7138c5dc8497ad1ba04f0d04902d6bb0
parent42a30357091d8483342a4f52260a2d2c6d80c980
Fix borders of InsetMathGrid

* New virtual functions leftMargin() and rightMargin() to get rid of
  drawWithMargin()

* Factor and rewrite code for borders.

* Fix several offset calculations.

Known issues:

* Borders of multicols look too good and do not correspond to the pdf
  output. (non-regression)

* Bounding box for Hull (Regexp) not pixel-perfect.

* Bounding boxes of Diagram, XYmatrix, are too tight when there are
  borders. Also border should be disabled. (non-regression)
src/mathed/InsetMathAMSArray.cpp
src/mathed/InsetMathAMSArray.h
src/mathed/InsetMathArray.cpp
src/mathed/InsetMathArray.h
src/mathed/InsetMathCases.cpp
src/mathed/InsetMathCases.h
src/mathed/InsetMathGrid.cpp
src/mathed/InsetMathGrid.h
src/mathed/InsetMathTabular.cpp
src/mathed/InsetMathTabular.h