RFC: Sane rectangle class
glogow at fbihome.de
Fri Mar 20 17:19:31 UTC 2020
FWIW there is also canvas/source/tools/surfacerect.hxx, which might be
the lowest hanging fruit to get rid of, and which I found when fixing
If you replace this as a starter, we would at least not have the "just
and additional standard" situation and keep our Rectangle type count
And there is also basegfx::B2IBox. Naming is hard.
Probably it would also make sense to fix SalGraphics::drawRect.
I would be happy, if I don't read comments like
// a size of [0,0] therefore denotes a one-by-one rectangle.
in the future.
More information about the LibreOffice