Home
last modified time | relevance | path

Searched refs:bottom_left_dimensions (Results 1 – 1 of 1) sorted by relevance

/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Source/Core/
H A DDecoratorTiledBox.cpp155 if (padded_size.x < bottom_left_dimensions.x + bottom_right_dimensions.x) in GenerateElementData()
157 float minimum_width = bottom_left_dimensions.x + bottom_right_dimensions.x; in GenerateElementData()
159 bottom_left_dimensions.x = padded_size.x * (bottom_left_dimensions.x / minimum_width); in GenerateElementData()
161 left_dimensions.x = bottom_left_dimensions.x; in GenerateElementData()
170 if (padded_size.y < top_left_dimensions.y + bottom_left_dimensions.y) in GenerateElementData()
172 float minimum_height = top_left_dimensions.y + bottom_left_dimensions.y; in GenerateElementData()
178 bottom_left_dimensions.y = padded_size.y * (bottom_left_dimensions.y / minimum_height); in GenerateElementData()
180 bottom_dimensions.y = bottom_left_dimensions.y; in GenerateElementData()
242 Vector2f(0, padded_size.y - bottom_left_dimensions.y), in GenerateElementData()
243 bottom_left_dimensions, in GenerateElementData()
[all …]