diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-05-24 21:20:37 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-08-22 11:38:54 +0200 |
commit | 5b2dfbc649a7c20a93223cd4c274a4b0fe847df8 (patch) | |
tree | fdfb311986db76f18443bd7094fa4b8b21c6597d /src/gui/painting/qbezier.cpp | |
parent | 529b27152068f02fc67dba6e4bb88be918220827 (diff) |
Long live QSize(F)::grownBy/shrunkBy()
These functions tighten the integration of QMargins(F) with the rest
of the geometry classes by providing a way to apply margins to sizes
(and later, rects).
Apply them in a few obvious cases across QtWidgets.
[ChangeLog][QtCore][QSize/QSizeF] Added grownBy(QMargin(F))/shrunkBy(QMargin(F)).
Change-Id: I8a549436824cdb7fb6125a8cde89d5bf02826934
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/painting/qbezier.cpp')
0 files changed, 0 insertions, 0 deletions