Documentation for the newly added struct type

This commit is contained in:
Olivier Goffart 2020-09-17 13:13:17 +02:00
parent 8134fe5088
commit cbd8c6aefc
3 changed files with 18 additions and 1 deletions

View file

@ -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 |