Searched refs:rectPts (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/core/ |
D | SkPath.cpp | 3690 SkPoint rectPts[5]; in IsSimpleClosedRect() local 3698 rectPts[0] = verbPts[0]; in IsSimpleClosedRect() 3705 rectPts[rectPtCnt] = verbPts[1]; in IsSimpleClosedRect() 3710 rectPts[4] = rectPts[0]; in IsSimpleClosedRect() 3721 if (rectPts[0] != rectPts[4]) { in IsSimpleClosedRect() 3727 if (rectPts[0].fX == rectPts[3].fX && rectPts[1].fX == rectPts[2].fX && in IsSimpleClosedRect() 3728 rectPts[0].fY == rectPts[1].fY && rectPts[3].fY == rectPts[2].fY) { in IsSimpleClosedRect() 3730 if (rectPts[0].fX == rectPts[1].fX || rectPts[0].fY == rectPts[3].fY) { in IsSimpleClosedRect() 3734 } else if (rectPts[0].fY == rectPts[3].fY && rectPts[1].fY == rectPts[2].fY && in IsSimpleClosedRect() 3735 rectPts[0].fX == rectPts[1].fX && rectPts[3].fX == rectPts[2].fX) { in IsSimpleClosedRect() [all …]
|
/external/skqp/src/core/ |
D | SkPath.cpp | 3690 SkPoint rectPts[5]; in IsSimpleClosedRect() local 3698 rectPts[0] = verbPts[0]; in IsSimpleClosedRect() 3705 rectPts[rectPtCnt] = verbPts[1]; in IsSimpleClosedRect() 3710 rectPts[4] = rectPts[0]; in IsSimpleClosedRect() 3721 if (rectPts[0] != rectPts[4]) { in IsSimpleClosedRect() 3727 if (rectPts[0].fX == rectPts[3].fX && rectPts[1].fX == rectPts[2].fX && in IsSimpleClosedRect() 3728 rectPts[0].fY == rectPts[1].fY && rectPts[3].fY == rectPts[2].fY) { in IsSimpleClosedRect() 3730 if (rectPts[0].fX == rectPts[1].fX || rectPts[0].fY == rectPts[3].fY) { in IsSimpleClosedRect() 3734 } else if (rectPts[0].fY == rectPts[3].fY && rectPts[1].fY == rectPts[2].fY && in IsSimpleClosedRect() 3735 rectPts[0].fX == rectPts[1].fX && rectPts[3].fX == rectPts[2].fX) { in IsSimpleClosedRect() [all …]
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 472 SkPoint rectPts[4], in ClipAngledGradient() 485 SkScalar sDist = LineSide(startPerp, rectPts[i]); in ClipAngledGradient() 486 SkScalar eDist = LineSide(endPerp, rectPts[i]); in ClipAngledGradient() 509 clipStart ? pts[0] : beforeNeg ? rectPts[minPerpPtIndex] in ClipAngledGradient() 510 : rectPts[maxPerpPtIndex]; in ClipAngledGradient() 512 ? rectPts[maxPerpPtIndex] in ClipAngledGradient() 513 : rectPts[minPerpPtIndex]; in ClipAngledGradient() 520 SkScalar dist = LineSide(pts, rectPts[i]); in ClipAngledGradient() 537 clip->moveTo(IntersectSides(rectPts[minBounds], slope, startEdgePt)); in ClipAngledGradient() 538 clip->lineTo(IntersectSides(rectPts[minBounds], slope, endEdgePt)); in ClipAngledGradient() [all …]
|
/external/skqp/docs/ |
D | SkCanvas_Reference.bmh | 2615 SkPoint rectPts[] = { {64, 48}, {192, 160} }; 2626 rect.set(rectPts[0], rectPts[1]); 2628 rotator.mapPoints(rectPts, 2);
|
/external/skia/docs/ |
D | SkCanvas_Reference.bmh | 2558 SkPoint rectPts[] = { {64, 48}, {192, 160} }; 2569 rect.set(rectPts[0], rectPts[1]); 2571 rotator.mapPoints(rectPts, 2);
|