#include <ttauri/flow_layout.hpp>
◆ get_offset_and_size()
- Parameters
-
| first | The first index |
| last | The index one beyond the last. |
◆ reserve()
| void tt::flow_layout::reserve |
( |
ssize_t | new_size | ) |
|
|
inlinenoexcept |
Grow layout to include upto new_size of items.
◆ set_size()
| void tt::flow_layout::set_size |
( |
float | total_size | ) |
|
|
inlinenoexcept |
Update the layout of all items based on the total size.
◆ size()
| float tt::flow_layout::size |
( |
| ) |
const |
|
inlinenoexcept |
Calculate the size of the combined items in the layout.
- Precondition
set_size() must be called.
The documentation for this class was generated from the following file: