Searched refs:leftTop (Results 1 – 5 of 5) sorted by relevance
/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/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/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 567 SkSpan<const DevicePosition> leftTop{glyphLeftTop, goodPosCount}; in Make() local 569 format, blob, runBounds, leftTop, in Make() 724 for (auto[quad, glyph, leftTop] : quadData) { in direct_2D() 726 SkScalar dl = leftTop[0] + integralOriginOffset.x(), in direct_2D() 727 dt = leftTop[1] + integralOriginOffset.y(), in direct_2D() 749 for (auto[quad, glyph, leftTop] : quadData) { in generalized_direct_2D() 753 SkScalar l = (SkScalar)leftTop[0] + integralOriginOffset.x(), in generalized_direct_2D() 754 t = (SkScalar)leftTop[1] + integralOriginOffset.y(); in generalized_direct_2D() 1767 SkSpan<const DevicePosition> leftTop{glyphLeftTop, goodPosCount}; in Make() local 1769 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/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()
|