Searched refs:rectPts (Results 1 – 5 of 5) sorted by relevance
/external/skia/docs/examples/ |
D | Canvas_drawRect.cpp | 7 SkPoint rectPts[] = { {64, 48}, {192, 160} }; in draw() local 18 rect.set(rectPts[0], rectPts[1]); in draw() 20 rotator.mapPoints(rectPts, 2); in draw()
|
/external/skia/src/core/ |
D | SkPath.cpp | 3068 SkPoint rectPts[5]; in IsSimpleRect() local 3077 rectPts[0] = verbPts[0]; in IsSimpleRect() 3084 rectPts[rectPtCnt] = verbPts[1]; in IsSimpleRect() 3089 rectPts[4] = rectPts[0]; in IsSimpleRect() 3106 if (rectPts[0] != rectPts[4]) { in IsSimpleRect() 3112 if (rectPts[0].fX == rectPts[3].fX && rectPts[1].fX == rectPts[2].fX && in IsSimpleRect() 3113 rectPts[0].fY == rectPts[1].fY && rectPts[3].fY == rectPts[2].fY) { in IsSimpleRect() 3115 if (rectPts[0].fX == rectPts[1].fX || rectPts[0].fY == rectPts[3].fY) { in IsSimpleRect() 3119 } else if (rectPts[0].fY == rectPts[3].fY && rectPts[1].fY == rectPts[2].fY && in IsSimpleRect() 3120 rectPts[0].fX == rectPts[1].fX && rectPts[3].fX == rectPts[2].fX) { in IsSimpleRect() [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 | 520 SkPoint rectPts[4], in ClipAngledGradient() 533 SkScalar sDist = LineSide(startPerp, rectPts[i]); in ClipAngledGradient() 534 SkScalar eDist = LineSide(endPerp, rectPts[i]); in ClipAngledGradient() 567 const SkPoint& startEdgePt = clipStart ? pts[0] : rectPts[noClipStartIndex]; in ClipAngledGradient() 568 const SkPoint& endEdgePt = clipEnd ? pts[1] : rectPts[noClipEndIndex]; in ClipAngledGradient() 576 SkScalar dist = LineSide(pts, rectPts[i]); in ClipAngledGradient() 593 clip->moveTo(IntersectSides(rectPts[minBounds], slope, startEdgePt)); in ClipAngledGradient() 594 clip->lineTo(IntersectSides(rectPts[minBounds], slope, endEdgePt)); in ClipAngledGradient() 595 clip->lineTo(IntersectSides(rectPts[maxBounds], slope, endEdgePt)); in ClipAngledGradient() 596 clip->lineTo(IntersectSides(rectPts[maxBounds], slope, startEdgePt)); 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);
|