blob: 3469ccf004ed7c2a0cb1faaf4500c90bb1f8db86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include "Base.hpp"
#include "MeasureRequirement.hpp"
namespace cru::ui::render {
float CalculateAnchorByAlignment(Alignment alignment, float start_point,
float content_length, float child_length);
MeasureLength StackLayoutCalculateChildMaxLength(
MeasureLength parent_preferred_size, MeasureLength parent_max_size,
MeasureLength child_min_size, std::string_view log_tag,
std::string_view exceeds_message);
} // namespace cru::ui::render
|