mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-26 20:09:53 +00:00
Documentation for the newly added struct type
This commit is contained in:
parent
8134fe5088
commit
cbd8c6aefc
3 changed files with 18 additions and 1 deletions
|
@ -11,4 +11,5 @@ The follow table summarizes the entire mapping:
|
|||
| `color` | [`sixtyfps::Color`](api/classsixtyfps_1_1_color.html) | |
|
||||
| `length` | `float` | The unit are physical pixels. |
|
||||
| `logical_length` | `float` | At run-time, logical lengths are automatically translated to physical pixels using the device pixel ratio. |
|
||||
| `duration` | `std::int64_t` | At run-time, durations are always represented as signed 64-bit integers with milisecond precision. |
|
||||
| `duration` | `std::int64_t` | At run-time, durations are always represented as signed 64-bit integers with milisecond precision. |
|
||||
| stucture | A `struct` of the same name | The order of the data member are in the lexicographic order of their name |
|
Loading…
Add table
Add a link
Reference in a new issue