Home
last modified time | relevance | path

Searched refs:rectPts (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/docs/examples/
DCanvas_drawRect.cpp7 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()
/third_party/flutter/skia/docs/examples/
DCanvas_drawRect.cpp7 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()
/third_party/skia/src/core/
DSkPath.cpp3134 SkPoint rectPts[5]; in IsSimpleRect() local
3143 rectPts[0] = verbPts[0]; in IsSimpleRect()
3150 rectPts[rectPtCnt] = verbPts[1]; in IsSimpleRect()
3155 rectPts[4] = rectPts[0]; in IsSimpleRect()
3172 if (rectPts[0] != rectPts[4]) { in IsSimpleRect()
3178 if (rectPts[0].fX == rectPts[3].fX && rectPts[1].fX == rectPts[2].fX && in IsSimpleRect()
3179 rectPts[0].fY == rectPts[1].fY && rectPts[3].fY == rectPts[2].fY) { in IsSimpleRect()
3181 if (rectPts[0].fX == rectPts[1].fX || rectPts[0].fY == rectPts[3].fY) { in IsSimpleRect()
3185 } else if (rectPts[0].fY == rectPts[3].fY && rectPts[1].fY == rectPts[2].fY && in IsSimpleRect()
3186 rectPts[0].fX == rectPts[1].fX && rectPts[3].fX == rectPts[2].fX) { in IsSimpleRect()
[all …]
/third_party/flutter/skia/src/core/
DSkPath.cpp3628 SkPoint rectPts[5]; in IsSimpleClosedRect() local
3636 rectPts[0] = verbPts[0]; in IsSimpleClosedRect()
3643 rectPts[rectPtCnt] = verbPts[1]; in IsSimpleClosedRect()
3648 rectPts[4] = rectPts[0]; in IsSimpleClosedRect()
3659 if (rectPts[0] != rectPts[4]) { in IsSimpleClosedRect()
3665 if (rectPts[0].fX == rectPts[3].fX && rectPts[1].fX == rectPts[2].fX && in IsSimpleClosedRect()
3666 rectPts[0].fY == rectPts[1].fY && rectPts[3].fY == rectPts[2].fY) { in IsSimpleClosedRect()
3668 if (rectPts[0].fX == rectPts[1].fX || rectPts[0].fY == rectPts[3].fY) { in IsSimpleClosedRect()
3672 } else if (rectPts[0].fY == rectPts[3].fY && rectPts[1].fY == rectPts[2].fY && in IsSimpleClosedRect()
3673 rectPts[0].fX == rectPts[1].fX && rectPts[3].fX == rectPts[2].fX) { in IsSimpleClosedRect()
[all …]