Lines Matching refs:left

30   if (left > right)
31 std::swap(left, right);
40 left = std::max(left, src_n.left);
44 if (left > right || top > bottom) {
45 left = top = right = bottom = 0;
50 left = rect.left;
75 if (left > right)
76 std::swap(left, right);
82 left = 0.0f;
92 left = std::max(left, other.left);
96 if (left > right || bottom > top)
104 left = std::min(left, other.left);
112 rect.left = static_cast<int>(floor(left));
122 rect.left = static_cast<int>(ceil(left));
132 MatchFloatRange(left, right, &rect.left, &rect.right);
139 float fWidth = right - left;
143 float fCenterX = (left + right) / 2.0f;
152 return point.x <= n1.right && point.x >= n1.left && point.y <= n1.top &&
161 return n2.left >= n1.left && n2.right <= n1.right && n2.bottom >= n1.bottom &&
166 left = std::min(left, point.x);
173 left *= fScale;
180 float fHalfWidth = (right - left) / 2.0f;
183 float center_x = (left + right) / 2;
186 left = center_x - fHalfWidth * fScale;
193 return FX_RECT(static_cast<int>(left), static_cast<int>(top),
198 return FX_RECT(FXSYS_round(left), FXSYS_round(top), FXSYS_round(right),
204 os << "rect[" << rect.Width() << "x" << rect.Height() << " (" << rect.left
287 float fDiff = src.left - src.right;
288 a = fabs(fDiff) < 0.001f ? 1 : (dest.left - dest.right) / fDiff;
292 e = dest.left - src.left * a;
333 const float& left,
338 {left, top}, {left, bottom}, {right, top}, {right, bottom}};
356 float left;
360 std::tie(left, right, bottom, top) =
361 TransformRect(rect.left, rect.right(), rect.bottom(), rect.top);
362 return CFX_RectF(left, top, right - left, bottom - top);
366 float left;
370 std::tie(left, right, top, bottom) =
371 TransformRect(rect.left, rect.right, rect.top, rect.bottom);
372 return CFX_FloatRect(left, bottom, right, top);
376 CFX_Matrix left;
379 left = other;
382 left = *this;
386 a = left.a * right.a + left.b * right.c;
387 b = left.a * right.b + left.b * right.d;
388 c = left.c * right.a + left.d * right.c;
389 d = left.c * right.b + left.d * right.d;
390 e = left.e * right.a + left.f * right.c + right.e;
391 f = left.e * right.b + left.f * right.d + right.f;