A size in device pixels, used as is (not scaled by the UI scale).
More...
#include <gui_core/gui_units.h>
A size in device pixels, used as is (not scaled by the UI scale).
◆ Pixels() [1/2]
| tachyon::Pixels::Pixels |
( |
| ) |
|
|
constexprdefault |
◆ Pixels() [2/2]
| tachyon::Pixels::Pixels |
( |
int32_t | v | ) |
|
|
inlineexplicitconstexpr |
Explicit: say Pixels{ n } to opt out of CSS px scaling.
◆ operator<=>()
| auto tachyon::Pixels::operator<=> |
( |
const Pixels & | | ) |
const |
|
constexprdefault |
◆ value
| int32_t tachyon::Pixels::value = 0 |
The documentation for this struct was generated from the following file: