Lines Matching refs:height
72 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
76 const float current_ratio = width / height;
82 const float dy = height * (current_ratio / ratio - 1.0f);
84 height += dy;
90 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
94 const float current_length = width > height ? width : height;
99 const float dy = height * (length / current_length - 1.0f);
101 height += dy;
107 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) {
111 const float current_length = width > height ? width : height;
124 const float dy = height * (f - 1.0f);
126 height += dy;