Margin is a similar concept to css: used to create space around elements, outside of any defined borders.
More...
#include <LookAndFeel.h>
|
CRect | apply (CRect const &iRect) const |
| Apply this margin to the provided rect. More...
|
|
| Margin ()=default |
|
| Margin (CCoord iValue) noexcept |
|
| Margin (CCoord iTop, CCoord iRight, CCoord iBottom, CCoord iLeft) noexcept |
|
Margin is a similar concept to css: used to create space around elements, outside of any defined borders.
◆ Margin() [1/3]
◆ Margin() [2/3]
◆ Margin() [3/3]
Margin |
( |
CCoord |
iTop, |
|
|
CCoord |
iRight, |
|
|
CCoord |
iBottom, |
|
|
CCoord |
iLeft |
|
) |
| |
|
inlinenoexcept |
◆ apply()
CRect apply |
( |
CRect const & |
iRect | ) |
const |
|
inline |
Apply this margin to the provided rect.
Return a new rectangle with adjusted left/top/right/bottom locations.
◆ fBottom
◆ fLeft
◆ fRight
◆ fTop
The documentation for this struct was generated from the following file: