/third_party/skia/tests/ |
D | PathOpsDRectTest.cpp | 56 SkDPoint leftTop = {rect2.fLeft, rect2.fTop}; in DEF_TEST() local 57 REPORTER_ASSERT(reporter, rect.contains(leftTop)); in DEF_TEST() 70 SkDPoint leftTop = {rect2.fLeft, rect2.fTop}; in DEF_TEST() local 71 REPORTER_ASSERT(reporter, rect.contains(leftTop)); in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | PathOpsDRectTest.cpp | 56 SkDPoint leftTop = {rect2.fLeft, rect2.fTop}; in DEF_TEST() local 57 REPORTER_ASSERT(reporter, rect.contains(leftTop)); in DEF_TEST() 70 SkDPoint leftTop = {rect2.fLeft, rect2.fTop}; in DEF_TEST() local 71 REPORTER_ASSERT(reporter, rect.contains(leftTop)); in DEF_TEST()
|
/third_party/skia/src/utils/ |
D | SkDashPath.cpp | 118 SkScalar leftTop = (&bounds.fLeft)[xyOffset]; in clip_line() local 120 if (maxXY < leftTop || minXY > rightBottom) { in clip_line() 128 if (minXY < leftTop) { in clip_line() 129 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line()
|
/third_party/flutter/skia/src/utils/ |
D | SkDashPath.cpp | 117 SkScalar leftTop = (&bounds.fLeft)[xyOffset]; in clip_line() local 119 if (maxXY < leftTop || minXY > rightBottom) { in clip_line() 127 if (minXY < leftTop) { in clip_line() 128 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line()
|
/third_party/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 561 SkSpan<const DevicePosition> leftTop{glyphLeftTop, goodPosCount}; in Make() local 563 format, blob, runBounds, leftTop, in Make() 718 for (auto[quad, glyph, leftTop] : quadData) { in direct_2D() 720 SkScalar dl = leftTop[0] + integralOriginOffset.x(), in direct_2D() 721 dt = leftTop[1] + integralOriginOffset.y(), in direct_2D() 743 for (auto[quad, glyph, leftTop] : quadData) { in generalized_direct_2D() 747 SkScalar l = (SkScalar)leftTop[0] + integralOriginOffset.x(), in generalized_direct_2D() 748 t = (SkScalar)leftTop[1] + integralOriginOffset.y(); in generalized_direct_2D() 1761 SkSpan<const DevicePosition> leftTop{glyphLeftTop, goodPosCount}; in Make() local 1763 format, runBounds.rect(), leftTop, in Make() [all …]
|
/third_party/skia/src/core/ |
D | SkPathRef.cpp | 650 Sk2s leftTop = Sk2s(fBounds.fLeft, fBounds.fTop); in isValid() local 656 ((point < leftTop).anyTrue() || (point > rightBot).anyTrue())) { in isValid() 669 … if (fPoints[i].isFinite() && (point < leftTop).anyTrue() && !(point > rightBot).anyTrue()) in isValid()
|
/third_party/flutter/skia/src/core/ |
D | SkPathRef.cpp | 915 Sk2s leftTop = Sk2s(fBounds.fLeft, fBounds.fTop); in isValid() local 921 ((point < leftTop).anyTrue() || (point > rightBot).anyTrue())) { in isValid() 934 … if (fPoints[i].isFinite() && (point < leftTop).anyTrue() && !(point > rightBot).anyTrue()) in isValid()
|
/third_party/skia/src/gpu/geometry/ |
D | GrTriangulator.cpp | 744 Vertex* leftTop = edge->fLeft->fTop; in rewind_if_necessary() local 746 if (c.sweep_lt(leftTop->fPoint, top->fPoint) && !edge->fLeft->isLeftOf(top)) { in rewind_if_necessary() 747 rewind(activeEdges, current, leftTop, c); in rewind_if_necessary() 748 } else if (c.sweep_lt(top->fPoint, leftTop->fPoint) && !edge->isRightOf(leftTop)) { in rewind_if_necessary() 752 rewind(activeEdges, current, leftTop, c); in rewind_if_necessary()
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | recording_canvas.dart | 1388 final Vector3 leftTop = 1397 math.min(math.min(math.min(leftTop.x, rightTop.x), leftBottom.x), 1399 math.min(math.min(math.min(leftTop.y, rightTop.y), leftBottom.y), 1401 math.max(math.max(math.max(leftTop.x, rightTop.x), leftBottom.x), 1403 math.max(math.max(math.max(leftTop.y, rightTop.y), leftBottom.y),
|