Lines Matching refs:GetRelativeRect

113                 totalValidLength += (child->GetRelativeRect().GetWidth() + left + right);
117 totalValidLength += (child->GetRelativeRect().GetHeight() + top + bottom);
139 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) {
143 pos += child->GetRelativeRect().GetWidth() + right;
171 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) {
177 height = MATH_MAX(height, child->GetRelativeRect().GetHeight() + top + bottom);
179 pos += child->GetRelativeRect().GetWidth() + right;
204 if ((pos + child->GetRelativeRect().GetWidth() + right) > GetWidth()) {
212 width += child->GetRelativeRect().GetWidth() + right + left;
216 pos += child->GetRelativeRect().GetWidth() + right;
242 posY = GetHeight() - child->GetRelativeRect().GetHeight() - bottom - offset;
251 posY = (GetHeight() - child->GetRelativeRect().GetHeight() - top - bottom) / 2 + top + offset; // 2: half
290 if (((posX + child->GetRelativeRect().GetWidth() + right) > GetWidth()) && (wrap_ == WRAP)) {
297 child->SetPosition(GetWidth() - posX - child->GetRelativeRect().GetWidth() - right,
302 posX += child->GetRelativeRect().GetWidth() + right + interval;
329 if ((pos + child->GetRelativeRect().GetHeight() + bottom) > GetHeight()) {
333 pos += child->GetRelativeRect().GetHeight() + bottom;
359 if ((pos + child->GetRelativeRect().GetHeight() + bottom) > GetHeight()) {
365 width = MATH_MAX(width, child->GetRelativeRect().GetWidth() + left + right);
367 pos += child->GetRelativeRect().GetHeight() + bottom;
392 if ((pos + child->GetRelativeRect().GetHeight() + bottom) > GetHeight()) {
400 height += child->GetRelativeRect().GetHeight() + top + bottom;
404 pos += child->GetRelativeRect().GetHeight() + bottom;
430 posX = GetWidth() - child->GetRelativeRect().GetWidth() - right - offset;
439 posX = (GetWidth() - child->GetRelativeRect().GetWidth() - left - right) / 2 + left + offset; // 2: half
478 if (((posY + child->GetRelativeRect().GetHeight() + bottom) > GetHeight()) && (wrap_ == WRAP)) {
486 GetHeight() - posY - child->GetRelativeRect().GetHeight() - bottom);
490 posY += child->GetRelativeRect().GetHeight() + bottom + interval;