Lines Matching refs:width
73 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
77 const float current_ratio = width / height;
79 const float dx = width * (ratio / current_ratio - 1.0f);
81 width += dx;
91 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
95 const float current_length = width > height ? width : height;
97 const float dx = width * (length / current_length - 1.0f);
99 width += dx;
108 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) {
112 const float current_length = width > height ? width : height;
122 const float dx = width * (f - 1.0f);
124 width += dx;