/external/skia/src/core/ |
D | SkQuadClipper.cpp | 51 bool SkQuadClipper::clipQuad(const SkPoint srcPts[3], SkPoint dst[3]) { in clipQuad() 55 if (srcPts[0].fY > srcPts[2].fY) { in clipQuad() 56 dst[0] = srcPts[2]; in clipQuad() 57 dst[1] = srcPts[1]; in clipQuad() 58 dst[2] = srcPts[0]; in clipQuad() 61 memcpy(dst, srcPts, 3 * sizeof(SkPoint)); in clipQuad()
|
D | SkCubicClipper.cpp | 108 bool SkCubicClipper::clipCubic(const SkPoint srcPts[4], SkPoint dst[4]) { in clipCubic() 112 if (srcPts[0].fY > srcPts[3].fY) { in clipCubic() 113 dst[0] = srcPts[3]; in clipCubic() 114 dst[1] = srcPts[2]; in clipCubic() 115 dst[2] = srcPts[1]; in clipCubic() 116 dst[3] = srcPts[0]; in clipCubic() 119 memcpy(dst, srcPts, 4 * sizeof(SkPoint)); in clipCubic()
|
D | SkEdgeClipper.h | 36 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip); 37 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
|
D | SkQuadClipper.h | 55 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip); 56 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
|
D | SkEdgeClipper.cpp | 125 void SkEdgeClipper::clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip) { in clipMonoQuad() 127 bool reverse = sort_increasing_Y(pts, srcPts, 3); in clipMonoQuad() 197 bool SkEdgeClipper::clipQuad(const SkPoint srcPts[3], const SkRect& clip) { in clipQuad() 202 bounds.set(srcPts, 3); in clipQuad() 206 int countY = SkChopQuadAtYExtrema(srcPts, monoY); in clipQuad() 405 bool SkEdgeClipper::clipCubic(const SkPoint srcPts[4], const SkRect& clip) { in clipCubic() 410 bounds.set(srcPts, 4); in clipCubic() 414 int countY = SkChopCubicAtYExtrema(srcPts, monoY); in clipCubic()
|
D | SkPath.cpp | 1924 const SkPoint* SK_RESTRICT srcPts = fPts; in doNext() local 1940 fMoveTo = *srcPts; in doNext() 1941 pts[0] = *srcPts; in doNext() 1942 srcPts += 1; in doNext() 1949 pts[1] = srcPts[0]; in doNext() 1950 fLastPt = srcPts[0]; in doNext() 1952 srcPts += 1; in doNext() 1959 memcpy(&pts[1], srcPts, 2 * sizeof(SkPoint)); in doNext() 1960 fLastPt = srcPts[1]; in doNext() 1961 srcPts += 2; in doNext() [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkQuadClipper.cpp | 51 bool SkQuadClipper::clipQuad(const SkPoint srcPts[3], SkPoint dst[3]) { in clipQuad() 55 if (srcPts[0].fY > srcPts[2].fY) { in clipQuad() 56 dst[0] = srcPts[2]; in clipQuad() 57 dst[1] = srcPts[1]; in clipQuad() 58 dst[2] = srcPts[0]; in clipQuad() 61 memcpy(dst, srcPts, 3 * sizeof(SkPoint)); in clipQuad()
|
D | SkCubicClipper.cpp | 108 bool SkCubicClipper::clipCubic(const SkPoint srcPts[4], SkPoint dst[4]) { in clipCubic() 112 if (srcPts[0].fY > srcPts[3].fY) { in clipCubic() 113 dst[0] = srcPts[3]; in clipCubic() 114 dst[1] = srcPts[2]; in clipCubic() 115 dst[2] = srcPts[1]; in clipCubic() 116 dst[3] = srcPts[0]; in clipCubic() 119 memcpy(dst, srcPts, 4 * sizeof(SkPoint)); in clipCubic()
|
D | SkEdgeClipper.h | 36 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip); 37 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
|
D | SkQuadClipper.h | 55 void clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip); 56 void clipMonoCubic(const SkPoint srcPts[4], const SkRect& clip);
|
D | SkEdgeClipper.cpp | 125 void SkEdgeClipper::clipMonoQuad(const SkPoint srcPts[3], const SkRect& clip) { in clipMonoQuad() 127 bool reverse = sort_increasing_Y(pts, srcPts, 3); in clipMonoQuad() 197 bool SkEdgeClipper::clipQuad(const SkPoint srcPts[3], const SkRect& clip) { in clipQuad() 202 bounds.set(srcPts, 3); in clipQuad() 206 int countY = SkChopQuadAtYExtrema(srcPts, monoY); in clipQuad() 405 bool SkEdgeClipper::clipCubic(const SkPoint srcPts[4], const SkRect& clip) { in clipCubic() 410 bounds.set(srcPts, 4); in clipCubic() 414 int countY = SkChopCubicAtYExtrema(srcPts, monoY); in clipCubic()
|
D | SkPath.cpp | 1924 const SkPoint* SK_RESTRICT srcPts = fPts; in doNext() local 1940 fMoveTo = *srcPts; in doNext() 1941 pts[0] = *srcPts; in doNext() 1942 srcPts += 1; in doNext() 1949 pts[1] = srcPts[0]; in doNext() 1950 fLastPt = srcPts[0]; in doNext() 1952 srcPts += 1; in doNext() 1959 memcpy(&pts[1], srcPts, 2 * sizeof(SkPoint)); in doNext() 1960 fLastPt = srcPts[1]; in doNext() 1961 srcPts += 2; in doNext() [all …]
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkMatrixParts.cpp | 243 int srcPts = sourcePath.getPoints(src, 4); in add() local 246 if (srcPts != dstPts) in add() 249 temp.setPolyToPoly(src, dst, srcPts); in add()
|
/external/skia/src/animator/ |
D | SkMatrixParts.cpp | 243 int srcPts = sourcePath.getPoints(src, 4); in add() local 246 if (srcPts != dstPts) in add() 249 temp.setPolyToPoly(src, dst, srcPts); in add()
|
/external/skia/tests/ |
D | PathTest.cpp | 709 const SkPoint srcPts[], bool expectClose) { in test_poly() argument 719 REPORTER_ASSERT(reporter, pts[0] == srcPts[0]); in test_poly() 720 srcPts++; in test_poly() 725 REPORTER_ASSERT(reporter, pts[1] == srcPts[0]); in test_poly() 726 srcPts++; in test_poly()
|
/external/chromium_org/third_party/skia/tests/ |
D | PathTest.cpp | 709 const SkPoint srcPts[], bool expectClose) { in test_poly() argument 719 REPORTER_ASSERT(reporter, pts[0] == srcPts[0]); in test_poly() 720 srcPts++; in test_poly() 725 REPORTER_ASSERT(reporter, pts[1] == srcPts[0]); in test_poly() 726 srcPts++; in test_poly()
|