Fix links to C++ types in the C++ type mapping documentation

closes #852
This commit is contained in:
Simon Hausmann 2022-01-20 11:27:39 +01:00
parent e7d2028a8f
commit 5ae41f0b87

View file

@ -8,10 +8,10 @@ The follow table summarizes the entire mapping:
| `int` | `int` | |
| `float` | `float` | |
| `bool` | `bool` | |
| `string` | [`sixtyfps::SharedString`](../api/structsixtyfps_1_1_shared_string.html) | A reference-counted string type that uses UTF-8 encoding and can be easily converted to a std::string_view or a const char *. |
| `color` | [`sixtyfps::Color`](../api/classsixtyfps_1_1_color.html) | |
| `brush` | [`sixtyfps::Brush`](../api/classsixtyfps_1_1_brush.html) | |
| `image` | [`sixtyfps::Image`](../api/structsixtyfps_1_1_image.html) | |
| `string` | [`sixtyfps::SharedString`](api/structsixtyfps_1_1_shared_string.html) | A reference-counted string type that uses UTF-8 encoding and can be easily converted to a std::string_view or a const char *. |
| `color` | [`sixtyfps::Color`](api/classsixtyfps_1_1_color.html) | |
| `brush` | [`sixtyfps::Brush`](api/classsixtyfps_1_1_brush.html) | |
| `image` | [`sixtyfps::Image`](api/structsixtyfps_1_1_image.html) | |
| `physical_length` | `float` | The unit are physical pixels. |
| `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 millisecond precision. |